Skip to content

Commit

Permalink
Only create an issue on failure if daily fails on main (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanmart authored Sep 9, 2024
1 parent 5868534 commit c59db80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Issue on failure
uses: actions/github-script@v7
if: ${{ failure() }}
if: ${{ failure() && github.ref == 'refs/heads/main' }}
with:
script: |
github.rest.issues.listForRepo({
Expand Down

0 comments on commit c59db80

Please sign in to comment.