Add gitlab ci for calling pre-commit and ci-fairy

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
This commit is contained in:
Mario Limonciello 2023-08-29 22:00:04 -05:00
parent 792115b20c
commit 69e68cde08
2 changed files with 12 additions and 0 deletions

11
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,11 @@
check-commits:
image: registry.gitlab.com/kernel-firmware/linux-firmware
script:
- ci-fairy check-commits --signed-off-by
pre-commit:
image: registry.gitlab.com/kernel-firmware/linux-firmware
script:
- pre-commit run --all-files

View File

@ -74,6 +74,7 @@ def main():
[
".gitignore",
".codespell.cfg",
".gitlab-ci.yml",
".pre-commit-config.yaml",
"check_whence.py",
"configure",