style: action id run in resource updater commit

This commit is contained in:
Constrat
2024-09-06 13:12:14 +02:00
parent c59fb8413c
commit 598575d13c

View File

@@ -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
}