Commit ca70b3eb authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

CI: check submission basics

This CI check ensures that S-o-b tags are present in each commit, there
are no fix-up commits, and that the merge request allows edits from
maintainers.

See https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html

Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent e251a836
Pipeline #421647 passed with stage
in 5 minutes and 14 seconds
include:
- project: 'freedesktop/ci-templates'
ref: 14731f78c23c7b523a85a26a068ade9ac1ecd2f3
file: '/templates/ci-fairy.yml'
stages:
- "Contribution checks"
variables:
FDO_UPSTREAM_REPO: pq/color-and-hdr
workflow:
rules:
- when: always
check-contribution:
extends:
- .fdo.ci-fairy
stage: "Contribution checks"
script:
- ci-fairy check-commits --signed-off-by --junit-xml=commits.xml
- ci-fairy check-merge-request --require-allow-collaboration
--junit-xml=mr.xml
rules:
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"'
when: always
- when: never
artifacts:
reports:
junit:
- commits.xml
- mr.xml
Supports Markdown
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