From 760f95bafa9e771ab65795b4eb9c0aed9df91245 Mon Sep 17 00:00:00 2001 From: Andoni Duarte Pintado Date: Tue, 13 Jan 2026 16:32:45 +0100 Subject: [PATCH] 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 66175b448cbc0db5b26095dae47333549e82c325) --- .gitlab-ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f8450a101..9927d8f46b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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