Skip to content

Commit

Permalink
gh-actions: only sending from dev master or PR to them
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-salazar committed Mar 26, 2021
1 parent cf45337 commit e37db8d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ jobs:
build:

runs-on: ubuntu-latest
# services:
# mysql:
# image: mysql:5.7
# env:
# MYSQL_ALLOW_EMPTY_PASSWORD: yes
# MYSQL_DATABASE: emg
# ports:
# - '3306:3306'
# options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 --sql-mode="STRICT_TRANS_TABLES"

steps:
- uses: actions/checkout@v2
- name: 🐍 - Set up Python 3.6
Expand Down Expand Up @@ -58,7 +48,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' || github.ref == 'refs/heads/gh_actions'
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 e37db8d

Please sign in to comment.