Skip to content

Commit

Permalink
github actions: notification only for dev and master
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-salazar committed Nov 20, 2020
1 parent 7294d1c commit 74dedf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: 📮 - Slack Notification
uses: rtCamp/action-slack-notify@v2
continue-on-error: true
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
env:
SLACK_COLOR: "${{ job.status == 'success' && 'good' || 'danger' }}"
SLACK_USERNAME: "Github Actions API"
Expand Down

0 comments on commit 74dedf3

Please sign in to comment.