Skip to content

Commit fa75a40

Browse files
committed
Clean up
1 parent 2e2775b commit fa75a40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/cron-tasks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
workflow_dispatch: # This should be removed once the workflow is tested and working
1110

1211
jobs:
1312
update_generated_files:
@@ -33,7 +32,7 @@ jobs:
3332
- uses: actions/checkout@v4
3433
with:
3534
# don't checkout a detatched HEAD
36-
ref: main # TODO: change to {{ github.head_ref }}
35+
ref: ${{ github.head_ref }}
3736

3837
# this is important so git log can pick up on
3938
# the whole history to generate the list of AUTHORS
@@ -91,5 +90,5 @@ jobs:
9190
9291
- name: Commit and push
9392
run: |
94-
git commit --no-allow-empty -m "chore: update auto-generated files" || true
93+
git commit --no-allow-empty -m "chore: update auto-generated files [skip actions]" || true
9594
git push

0 commit comments

Comments
 (0)