Skip to content

Commit

Permalink
chore: disable slack notification sending for forks
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Jun 3, 2024
1 parent 0d85f11 commit 8415725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Send Slack notification
uses: 8398a7/action-slack@v3
if: ${{ failure() || success() }} # Skip canceled jobs
if: (failure() || success()) && (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork)
with:
status: ${{ job.status }}
fields: repo,commit,author,action,eventName,ref,workflow,job,took,pullRequest
Expand Down

0 comments on commit 8415725

Please sign in to comment.