From 598575d13cb1fe54863df5bfaa17f4b4348c3a33 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com.> Date: Fri, 6 Sep 2024 13:12:14 +0200 Subject: [PATCH] style: action id run in resource updater commit --- .github/workflows/res-update-game.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/res-update-game.yml b/.github/workflows/res-update-game.yml index 534bc095a5..f70b84d93a 100644 --- a/.github/workflows/res-update-game.yml +++ b/.github/workflows/res-update-game.yml @@ -226,7 +226,10 @@ jobs: } else { $commit_msg = "chore: Auto Update Game Resources - $(Get-Date -Format 'yyyy-MM-dd')" } - git commit -m "$commit_msg" -m "[skip changelog]" + + $run_url = "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + + git commit -m "$commit_msg" -m "$run_url" -m "[skip changelog]" if ($LASTEXITCODE -eq 0) { Write-Output "have_commits=True" >> $env:GITHUB_OUTPUT }