update workflow: always commit so scheduled runs have a consistent label
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
93a9f56092
commit
066fd11449
1 changed files with 1 additions and 5 deletions
|
|
@ -37,12 +37,8 @@ jobs:
|
||||||
- name: Commit and push
|
- name: Commit and push
|
||||||
run: |
|
run: |
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
if git diff --quiet flake.lock; then
|
|
||||||
echo "No changes to flake.lock — skipping commit."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
git config user.name 'forgejo-actions[bot]'
|
git config user.name 'forgejo-actions[bot]'
|
||||||
git config user.email 'actions@forg.gregersen.it'
|
git config user.email 'actions@forg.gregersen.it'
|
||||||
git add flake.lock
|
git add flake.lock
|
||||||
git commit -m 'flake: update inputs'
|
git commit --allow-empty -m 'Update flake inputs'
|
||||||
git push
|
git push
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue