Skip to content

Commit

Permalink
fix(ci): correct slack failure message conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Jul 9, 2024
1 parent f45a56b commit 4d86e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
path: /tmp/logs.txt

- name: Notify Slack on Failure
if: failure() && (github.event_name == 'push' && github.ref == 'refs/heads/develop') || github.event_name == 'schedule'
if: failure() && ((github.event_name == 'push' && github.ref == 'refs/heads/develop') || github.event_name == 'schedule')
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
Expand Down

0 comments on commit 4d86e58

Please sign in to comment.