Skip to content
Snippets Groups Projects
Verified Commit 23e44ae9 authored by wallun's avatar wallun
Browse files

ci: disable gitlint in pre-commit and gitlab-ci

parent 85ff8c26
No related branches found
No related tags found
No related merge requests found
Pipeline #82671 passed
......@@ -15,23 +15,6 @@ pre-commit:
- pacman -Syu --noconfirm
- pacman -S git --noconfirm
- pacman -S pre-commit --noconfirm
- pacman -S sudo --noconfirm
- pacman -S base-devel --noconfirm
- useradd -G wheel aur_builder
- echo "aur_builder ALL=(ALL) NOPASSWD:ALL" |
tee /etc/sudoers.d/aur_builder
- sudo -u aur_builder git clone https://aur.archlinux.org/gitlint
/tmp/gitlint
- pushd /tmp/gitlint
- sudo -u aur_builder makepkg -si --noconfirm
- popd
- git config --global user.name "${GITLAB_USER_LOGIN}"
- git config --global user.email "${GITLAB_USER_EMAIL}"
script:
- pre-commit install -t pre-commit
- pre-commit install -t commit-msg
- git log -1 --format=%B > /tmp/COMMIT_MSG
- pre-commit run gitlint
--hook-stage commit-msg
--commit-msg-filename /tmp/COMMIT_MSG
- pre-commit run --all --verbose
......@@ -20,9 +20,3 @@ repos:
hooks:
- name: Run ansible-lint
id: ansible-lint
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- name: Run gitlint
id: gitlint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment