Skip to content

Commit e8f51a4

Browse files
committed
ci(release): ensured release is gated by verification
1 parent bdcc7cf commit e8f51a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/node-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Node.js CI
33
push:
44
branches:
55
- master
6-
- alpha
76
- beta
87
- renovate/**
98
pull_request:
@@ -30,6 +29,7 @@ jobs:
3029
trigger-release:
3130
runs-on: ubuntu-latest
3231
if: github.event_name == 'push'
32+
needs: verify
3333
steps:
3434
- uses: octokit/request-action@v2.x
3535
with:
@@ -40,5 +40,5 @@ jobs:
4040
repo: commitlint-config-traverson
4141
ref: ${{ github.ref }}
4242
workflow_id: release.yml
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)