Skip to content

Commit

Permalink
Add additional branch name check
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Mar 1, 2024
1 parent f62804a commit f673b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_cts_json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
# Important: The push event will not trigger any other workflows, see
# https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs
- name: Commit & push changes
# Only run for push events (on `main` branch); don't run for pull requests
if: github.event_name == 'push'
# Only run for push events on `main` branch
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'Update `cts.json`'
Expand Down

0 comments on commit f673b97

Please sign in to comment.