]> git.ipfire.org Git - thirdparty/bind9.git/commit
Detect "ignored yet tracked" files in GitLab CI
authorMichał Kępień <michal@isc.org>
Fri, 23 Dec 2022 12:21:47 +0000 (13:21 +0100)
committerTom Krizek <tkrizek@isc.org>
Fri, 23 Dec 2022 13:29:48 +0000 (14:29 +0100)
commitdf5c90843bfcfbf4420e9d41a74178667a817a92
tree61610f6eea31f3710f41715a919ff47add6ffa7d
parentee4a18ee23ac5020b109893157b67f284b853c65
Detect "ignored yet tracked" files in GitLab CI

Ensure that no .gitignore file in the tree contains patterns matching
files tracked by Git by adding a simple script that detects such
situations and running that script as part of the "misc" job in the
"precheck" stage of every GitLab CI pipeline.

(cherry picked from commit 5b28da7ea0c378435736a8cf4021740055bad3ca)
.gitlab-ci.yml
util/check-gitignore.sh [new file with mode: 0755]