Skip to content

Commit 42abf86

Browse files
Merge pull request #57 from NHSDigital/DTOSS-12521-skip-deploy-for-dependabot-prs
[DTOSS-12521] - Skip deploy stage on PRs without deploy label
2 parents 73b643c + bcd226d commit 42abf86

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
deploy-stage:
2828
name: Deploy stage
2929
needs: [commit-stage, test-stage]
30+
if: contains(github.event.pull_request.labels.*.name, 'deploy')
3031
permissions:
3132
id-token: write
3233
uses: ./.github/workflows/stage-4-deploy.yaml

0 commit comments

Comments
 (0)