Skip to content

Commit a73fac2

Browse files
authored
chore: only run workflow once for next (#616)
1 parent f341355 commit a73fac2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- master
7-
- next
87
pull_request:
98

109
env:
@@ -104,10 +103,10 @@ jobs:
104103
comment-always: true
105104

106105
dry_run:
107-
name: Build
106+
name: Release Test Package
108107
runs-on: ubuntu-latest
109108
# Dry run check does not need to wait for others
110-
if: (github.event_name == 'pull_request' || github.ref == 'refs/heads/next') && !contains(github.event.head_commit.message, '[skip ci]')
109+
if: github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'next' && !contains(github.event.head_commit.message, '[skip ci]')
111110
steps:
112111
- uses: actions/[email protected]
113112
with:

0 commit comments

Comments
 (0)