Skip to content

Commit

Permalink
check if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindmetku committed May 21, 2021
1 parent 07a3f11 commit 980ff7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
notify:
if: github.event.workflow_run.head_branch == 'main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test

on:
release:
types: [created]
types: [published]

jobs:
preflight-job:
Expand Down

0 comments on commit 980ff7d

Please sign in to comment.