Skip to content

Commit 8ff19e1

Browse files
nixpanicmergify[bot]
authored andcommitted
ci: skip build-multi-stage workflow for draft PRs
Add condition to prevent the multi-arch-build job from running on draft pull requests, saving CI resources during PR preparation. Assisted-by: AskBob <askbob@ibm.com> Signed-off-by: Niels de Vos <ndevos@ibm.com>
1 parent 42f0c91 commit 8ff19e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build-multi-stage.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
codespell:
1919
name: multi-arch-build
2020
runs-on: ubuntu-latest
21+
if: github.event.pull_request.draft == false
2122
steps:
2223
- name: delay a minute to have labels added
2324
run: sleep 1m

0 commit comments

Comments
 (0)