Commit cfdb89b8 authored by Olivier Crête's avatar Olivier Crête

gitlab-ci: Update ci-fairy to upstream recommended script

parent 4401e346
include:
- remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/ci-fairy.yml"
stages: stages:
- verify - verify
- build - build
...@@ -18,15 +15,21 @@ default: ...@@ -18,15 +15,21 @@ default:
# #
# Check "allow-edit" checkbox on merge requests with ci-fairy # Check "allow-edit" checkbox on merge requests with ci-fairy
# #
check allow-edit:
extends: '.fdo.ci-fairy' include:
- project: 'freedesktop/ci-templates'
file: '/templates/ci-fairy.yml'
check-allow-collaboration:
extends:
- .fdo.ci-fairy
script:
- ci-fairy check-merge-request --require-allow-collaboration
interruptible: true interruptible: true
needs: [] needs: []
stage: 'verify' stage: 'verify'
variables: variables:
GIT_STRATEGY: 'none' GIT_STRATEGY: 'none'
script:
- ci-fairy check-merge-request --require-allow-collaboration
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always when: always
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment