De-duplicate yaml for "other-checks" jobs

In .gitlab-ci.yml, since "&other_checks_job" has "needs: []", remove
that line from the jobs that use that anchor.

(cherry picked from commit 66175b448c)
This commit is contained in:
Andoni Duarte Pintado 2026-01-13 16:32:45 +01:00 committed by Michał Kępień
parent 1efc391e35
commit 3ae666b59f
No known key found for this signature in database

View file

@ -830,7 +830,6 @@ generate-tsan-stress-test-configs:
checkbashisms:
<<: *other_checks_job
<<: *shell_triggering_rules
needs: []
script:
- checkbashisms $(find . -path './.git' -prune -o -type f -exec sh -c 'head -n 1 "{}" | grep -qsF "#!/bin/sh"' \; -print)
@ -846,7 +845,6 @@ coccinelle:
- *rule_mr_manual
- *rule_tag
- *rule_source_other_than_mr
needs: []
script:
- util/check-cocci.sh
- if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi