From d4f49b60fc2ab942e66fccf017c43521d4df0de7 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com> Date: Wed, 4 Dec 2024 08:25:32 +0100 Subject: [PATCH] ci: change author from github bot to github actions --- .github/workflows/markdown-checker.yml | 2 +- .github/workflows/optimize-templates.yml | 4 ++-- .github/workflows/res-update-game-unix.yml | 4 ++-- .github/workflows/res-update-game.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/markdown-checker.yml b/.github/workflows/markdown-checker.yml index db9d6aa13e..8b7e3de89c 100644 --- a/.github/workflows/markdown-checker.yml +++ b/.github/workflows/markdown-checker.yml @@ -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: diff --git a/.github/workflows/optimize-templates.yml b/.github/workflows/optimize-templates.yml index 089fce39b7..86e865266c 100644 --- a/.github/workflows/optimize-templates.yml +++ b/.github/workflows/optimize-templates.yml @@ -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 . diff --git a/.github/workflows/res-update-game-unix.yml b/.github/workflows/res-update-game-unix.yml index 6a29fc7756..a6f23c9d6a 100644 --- a/.github/workflows/res-update-game-unix.yml +++ b/.github/workflows/res-update-game-unix.yml @@ -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 }}" diff --git a/.github/workflows/res-update-game.yml b/.github/workflows/res-update-game.yml index 37229d2cdb..2aef1fa658 100644 --- a/.github/workflows/res-update-game.yml +++ b/.github/workflows/res-update-game.yml @@ -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 }}"