Skip to content

Commit

Permalink
chore: only run workflow once for next (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahnu authored Aug 11, 2022
1 parent f341355 commit a73fac2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- next
pull_request:

env:
Expand Down Expand Up @@ -104,10 +103,10 @@ jobs:
comment-always: true

dry_run:
name: Build
name: Release Test Package
runs-on: ubuntu-latest
# Dry run check does not need to wait for others
if: (github.event_name == 'pull_request' || github.ref == 'refs/heads/next') && !contains(github.event.head_commit.message, '[skip ci]')
if: github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'next' && !contains(github.event.head_commit.message, '[skip ci]')
steps:
- uses: actions/checkout@v3.0.2
with:
Expand Down

0 comments on commit a73fac2

Please sign in to comment.