Skip to content

Commit

Permalink
Merge pull request #2 from derekherman/feature/action
Browse files Browse the repository at this point in the history
Do not run pull_request action on develop
  • Loading branch information
derekherman authored Feb 28, 2021
2 parents edeacf1 + 340deb0 commit 3a4cd15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
types: [ closed ]
branches:
- 'main'
- 'develop'
- '[0-9]+.[0-9]+'

jobs:
Expand Down Expand Up @@ -40,7 +39,7 @@ jobs:

release:
needs: [ lint-js ]
if: ${{ github.event.pull_request.merged == true && github.ref != 'refs/heads/develop' }}
if: ${{ github.event.pull_request.merged }}
name: Release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 3a4cd15

Please sign in to comment.