mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
ci: change author from github bot to github actions
This commit is contained in:
2
.github/workflows/markdown-checker.yml
vendored
2
.github/workflows/markdown-checker.yml
vendored
@@ -21,7 +21,7 @@ on:
|
||||
|
||||
jobs:
|
||||
check-links:
|
||||
if: ${{ github.event.head_commit.author.email != '41898282+github-actions[bot]@users.noreply.github.com' }}
|
||||
if: ${{ github.event.head_commit.author.email != 'actions@github.com' }}
|
||||
name: Check Dead Links
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
||||
4
.github/workflows/optimize-templates.yml
vendored
4
.github/workflows/optimize-templates.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
optimize-png:
|
||||
# Skip workflow to prevent double consecutive runs
|
||||
# Skip workflow on PR merges
|
||||
if: ${{ github.event.head_commit.author.email != '41898282+github-actions[bot]@users.noreply.github.com' && !github.event.pull_request }}
|
||||
if: ${{ github.event.head_commit.author.email != 'actions@github.com' && !github.event.pull_request }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
id: commit_changes
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config user.email "actions@github.com"
|
||||
|
||||
git add .
|
||||
|
||||
|
||||
4
.github/workflows/res-update-game-unix.yml
vendored
4
.github/workflows/res-update-game-unix.yml
vendored
@@ -265,8 +265,8 @@ jobs:
|
||||
if: steps.check_sorted_templates.outputs.changes == 'True'
|
||||
id: add_files
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "Github Actions"
|
||||
git config user.email "actions@github.com"
|
||||
git add .
|
||||
|
||||
commit_msg="${{ github.event.inputs.commit_message }}"
|
||||
|
||||
4
.github/workflows/res-update-game.yml
vendored
4
.github/workflows/res-update-game.yml
vendored
@@ -243,8 +243,8 @@ jobs:
|
||||
if: steps.check_sorted_templates.outputs.changes == 'True'
|
||||
id: add_files
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "Github Actions"
|
||||
git config user.email "actions@github.com"
|
||||
git add .
|
||||
|
||||
$commit_msg = "${{ github.event.inputs.commit_message }}"
|
||||
|
||||
Reference in New Issue
Block a user