Commit 1296965a authored by Olivier Crête's avatar Olivier Crête

gitlab-ci: Verify that allow-edit is set

parent 36aa468c
include:
- remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/ci-fairy.yml"
stages: stages:
- verify
- build - build
- test - test
- deploy - deploy
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: never
- if: '$CI_COMMIT_BRANCH'
default: default:
image: registry.freedesktop.org/libnice/libnice/centos7/meson-build image: registry.freedesktop.org/libnice/libnice/centos7/meson-build
#
# Check "allow-edit" checkbox on merge requests with ci-fairy
#
check allow-edit:
extends: '.fdo.ci-fairy'
needs: []
stage: 'verify'
variables:
GIT_STRATEGY: 'none'
script:
- ci-fairy check-merge-request --require-allow-collaboration
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always
build: build:
stage: build stage: build
......
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