xref: /linux/drivers/gpu/drm/ci/static-checks.yml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1check-patch:
2  extends:
3    - .build
4    - .use-debian/x86_64_build
5  script:
6    - drivers/gpu/drm/ci/check-patch.py
7  variables:
8    CHECKPATCH_TYPES: "BAD_SIGN_OFF,BAD_STABLE_ADDRESS_STYLE,COMMIT_COMMENT_SYMBOL,COMMIT_MESSAGE,EMAIL_SUBJECT,FROM_SIGN_OFF_MISMATCH,MISSING_SIGN_OFF,NO_AUTHOR_SIGN_OFF,DIFF_IN_COMMIT_MSG,GERRIT_CHANGE_ID,GIT_COMMIT_ID,UNKNOWN_COMMIT_ID,CODE_INDENT,BIT_MACRO,DOS_LINE_ENDINGS"
9  rules:
10    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
11      when: on_success
12    # Other cases default to never
13