Skip to content

Commit 4abe6d7

Browse files
committed
chore(ci): don't run cron tasks on commits generated by cron-tasks
1 parent 4754c3d commit 4abe6d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/authors-and-third-party-notices.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
update_generated_files:
1313
name: Update automatically generated files
1414
runs-on: ubuntu-latest
15+
if: "${{ github.event_name != 'push' || github.event.head_commit.message != 'chore: update AUTHORS, THIRD-PARTY-NOTICES, Security Test Summary' }}"
1516
env:
1617
HADRON_DISTRIBUTION: compass
1718
steps:
@@ -68,5 +69,5 @@ jobs:
6869
6970
- name: Commit and push
7071
run: |
71-
git commit --no-allow-empty -m "chore: update AUTHORS, THIRD-PARTY-NOTICES, Security Test Summary [skip actions]" || true
72+
git commit --no-allow-empty -m "chore: update AUTHORS, THIRD-PARTY-NOTICES, Security Test Summary" || true
7273
git push

0 commit comments

Comments
 (0)