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 5b087d8964
commit 760f95bafa
No known key found for this signature in database

View file

@ -873,7 +873,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)
@ -889,7 +888,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
@ -986,7 +984,6 @@ fsck:
- git fsck
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
needs: []
tarball-create:
<<: *build_job