Skip to content

Commit

Permalink
Gitlab-ci: Add way to disable workflow policy (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanicasa authored Jun 30, 2022
1 parent a9c7b4f commit 22d29b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ include:

workflow:
rules:
- if: '$CI_WEIGHT == "forced"' #bypass workflow
- if: '$CI_COMMIT_REF_NAME =~ /^master.*|^hotfix.*|^rc.*|^github-pr.*/'
variables:
CI_WEIGHT: "full"
Expand Down

0 comments on commit 22d29b0

Please sign in to comment.