diff --git a/.github/workflows/always-on-guards.yml b/.github/workflows/always-on-guards.yml index 80b0da4731..ebc2164b76 100644 --- a/.github/workflows/always-on-guards.yml +++ b/.github/workflows/always-on-guards.yml @@ -385,7 +385,7 @@ jobs: gh label create variation-light-cap-reached \ --description "Lane ayant deja merge une LIGHT aujourd'hui (cap G-VAR-2 atteint)" \ - --color B60205 --force 2>/dev/null || true + --color B60205 --force || true if [ "$CAP" = "True" ]; then gh pr edit "$PR_NUMBER" --add-label variation-light-cap-reached 2>/dev/null || true @@ -542,7 +542,7 @@ jobs: else SIGVAL="${!SIGVAR:-False}" fi - gh label create "$LABEL" --description "$DESC" --color "$COLOR" --force 2>/dev/null || true + gh label create "$LABEL" --description "$DESC" --color "$COLOR" --force || true # #10341 : les signaux agreges ne labelisent pas une candidate # innocente ; la branche else retire aussi un label pose avant # que la lane ne croise le cap (idempotence symetrique). @@ -647,7 +647,7 @@ jobs: # en silence (check=False historique) -- longueur epinglee en dur ici. gh label create trivial-diff-advisory \ --description "Diff trivial : grain META mecanique sans fournee ni exception ecrite (#15740)" \ - --color C2A76D --force 2>/dev/null || true + --color C2A76D --force || true gh pr edit "$PR_NUMBER" --add-label trivial-diff-advisory 2>/dev/null || true MARK="" @@ -704,7 +704,7 @@ jobs: fi mk_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } mk_label "lane-claim-absent" "Closing issue carries no claim at all (#10223)" "fbca04" @@ -1029,8 +1029,8 @@ jobs: # Label advisory pour l'adjacence DEEP/MED (jugement coord). gh label create variation-adjacency-deep-med \ - --description "Adjacence de genre DEEP/MED (hors liste LIGHT) : §2 l'autorise si substance distincte -- jugement au coordinateur" \ - --color FEF2C0 --force 2>/dev/null || true + --description "Adjacence DEEP/MED hors LIGHT : §2 l'autorise si substance distincte (coordinateur)" \ + --color FEF2C0 --force || true if [ "$ADJACENT" = "True" ]; then gh pr edit "$PR_NUMBER" --add-label variation-adjacency-deep-med 2>/dev/null || true else diff --git a/.github/workflows/always-on-metadata-guards.yml b/.github/workflows/always-on-metadata-guards.yml index 7c34325fb8..7d2dadae34 100644 --- a/.github/workflows/always-on-metadata-guards.yml +++ b/.github/workflows/always-on-metadata-guards.yml @@ -213,7 +213,7 @@ jobs: fi echo "::warning::Base is ${AGE_DAYS}d behind main (${BEHIND} commits)" gh pr comment "$PR_NUMBER" --body "## Base Branch Stale Warning - ${AGE_DAYS}d behind main (${BEHIND} commits). Consider rebasing." 2>/dev/null || true - gh label create "base-stale-14d" --description "PR base >14d behind main" --color "FFA500" --force 2>/dev/null || true + gh label create "base-stale-14d" --description "PR base >14d behind main" --color "FFA500" --force || true gh pr edit "$PR_NUMBER" --add-label "base-stale-14d" 2>/dev/null || true # ------------------------------------------------------------------ diff --git a/.github/workflows/cjk-residue-advisory.yml b/.github/workflows/cjk-residue-advisory.yml index 5a08b62297..a4837717ea 100644 --- a/.github/workflows/cjk-residue-advisory.yml +++ b/.github/workflows/cjk-residue-advisory.yml @@ -150,7 +150,7 @@ jobs: echo "::notice::CJK residue in THIS PR ($PR_LEAKS leak line(s)): $FILES -- see the '$LABEL' label (#8826/#8428)." gh label create "$LABEL" \ --description "CJK residue: a Chinese/Japanese word soldered into Latin prose (#8428/#8826)" \ - --color "D93F0B" --force 2>/dev/null || true + --color "D93F0B" --force || true gh pr edit "$PR_NUMBER" --add-label "$LABEL" || true fi else diff --git a/.github/workflows/consecutive-code-cells-advisory.yml b/.github/workflows/consecutive-code-cells-advisory.yml index 555bbf65ba..0219e66a7f 100644 --- a/.github/workflows/consecutive-code-cells-advisory.yml +++ b/.github/workflows/consecutive-code-cells-advisory.yml @@ -95,7 +95,7 @@ jobs: # Helper: ensure a label exists (idempotent), then add/remove it. ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } @@ -123,7 +123,7 @@ jobs: # when its count > 0 and cleared otherwise (a stale label from an # earlier push must not stick). ensure_label "$LABEL_CONSECUTIVE" \ - "A modified notebook has a run of >=2 consecutive code cells (opportunity for an intermediate markdown cell, or a merge pattern) (#12797)" "C4A64C" + "Modified notebook has >=2 consecutive code cells (#12797)" "C4A64C" ensure_label "$LABEL_UNMEASURED" \ "A modified notebook could not be measured -- NOT verified (#8819)" "BFD4F2" diff --git a/.github/workflows/dotnet-nuget-block-advisory.yml b/.github/workflows/dotnet-nuget-block-advisory.yml index 6537266133..34d6025995 100644 --- a/.github/workflows/dotnet-nuget-block-advisory.yml +++ b/.github/workflows/dotnet-nuget-block-advisory.yml @@ -145,7 +145,7 @@ jobs: # Helper: ensure a label exists (idempotent), then add/remove it. ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } diff --git a/.github/workflows/exercises-advisory.yml b/.github/workflows/exercises-advisory.yml index 4186bb0ce1..69c88980d4 100644 --- a/.github/workflows/exercises-advisory.yml +++ b/.github/workflows/exercises-advisory.yml @@ -105,7 +105,7 @@ jobs: # Helper: ensure a label exists (idempotent), then add/remove it. ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } diff --git a/.github/workflows/h1-hygiene-advisory.yml b/.github/workflows/h1-hygiene-advisory.yml index 1f13e95860..4b2330625d 100644 --- a/.github/workflows/h1-hygiene-advisory.yml +++ b/.github/workflows/h1-hygiene-advisory.yml @@ -89,6 +89,6 @@ jobs: fi gh label create "h1-hygiene-advisory" \ --description "Added notebook(s) carry H1 markdown/emoji/'Notebook:' prefix (#11840, advisory)" \ - --color "D4AC0D" --force 2>/dev/null || true + --color "D4AC0D" --force || true gh pr edit "$PR_NUMBER" --add-label "h1-hygiene-advisory" 2>/dev/null || true echo "::warning::H1 hygiene advisory: see scan output above (#11840)" diff --git a/.github/workflows/lane-claim-guard.yml b/.github/workflows/lane-claim-guard.yml index cb3b43e6d3..6b04811d3e 100644 --- a/.github/workflows/lane-claim-guard.yml +++ b/.github/workflows/lane-claim-guard.yml @@ -309,7 +309,7 @@ jobs: # travail passe comme marqueurs historiques; aucun nouveau n'est # pose par ce job. mk_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } mk_label "lane-claim-absent" "Closing issue carries no claim at all (#10223)" "fbca04" diff --git a/.github/workflows/lean-visibility-advisory.yml b/.github/workflows/lean-visibility-advisory.yml index 067ac1e3f7..36c60f122b 100644 --- a/.github/workflows/lean-visibility-advisory.yml +++ b/.github/workflows/lean-visibility-advisory.yml @@ -78,7 +78,7 @@ jobs: set -uo pipefail ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } diff --git a/.github/workflows/markdown-deaccent-advisory.yml b/.github/workflows/markdown-deaccent-advisory.yml index 04c889ce6b..b8c7026d7c 100644 --- a/.github/workflows/markdown-deaccent-advisory.yml +++ b/.github/workflows/markdown-deaccent-advisory.yml @@ -115,7 +115,7 @@ jobs: fi ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } diff --git a/.github/workflows/mermaid-fill-color-advisory.yml b/.github/workflows/mermaid-fill-color-advisory.yml index 992c6866d9..36fe67a7ef 100644 --- a/.github/workflows/mermaid-fill-color-advisory.yml +++ b/.github/workflows/mermaid-fill-color-advisory.yml @@ -105,7 +105,7 @@ jobs: # Helper: ensure a label exists (idempotent), then add/remove it. ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } @@ -139,9 +139,9 @@ jobs: # is > 0 and cleared otherwise (a stale label from an earlier push # must not stick). ensure_label "$LABEL_FINDING" \ - "A modified .md or .ipynb carries a mermaid style/classDef rule with fill: but no color: -- light-on-light label risk in dark theme (#15022 founding incident, #15502 fix + guard)" "E99695" + "Mermaid rule with fill: but no color: -- dark-theme label risk (#15022)" "E99695" ensure_label "$LABEL_UNMEASURED" \ - "A modified .md or .ipynb could not be measured by the mermaid fill-color detector -- NOT verified (#8819)" "BFD4F2" + "Not measured by the mermaid fill-color detector -- NOT verified (#8819)" "BFD4F2" # The #8819 guard: if the detector died, FIND/UNM are not integers # (FIND defaults to -1 on unreadable payload). With only `set -uo diff --git a/.github/workflows/paragraph-length-advisory.yml b/.github/workflows/paragraph-length-advisory.yml index 2c3d0be601..f271fe0112 100644 --- a/.github/workflows/paragraph-length-advisory.yml +++ b/.github/workflows/paragraph-length-advisory.yml @@ -89,7 +89,7 @@ jobs: echo "Modified *.md in this PR: $COUNT" ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } @@ -128,9 +128,9 @@ jobs: echo "Flagged files: $FLAG_COUNT" ensure_label "$LABEL_OVERSIZED" \ - "A modified markdown file carries a paragraph > 2000 chars (wall-of-text, see #15405 incident). Resorb before merge." "FBCA04" + "Paragraph > 2000 chars (wall-of-text, #15405). Resorb before merge." "FBCA04" ensure_label "$LABEL_UNMEASURED" \ - "A modified markdown file could not be measured by detect_paragraph_length.py -- NOT verified (#8819)." "BFD4F2" + "Not measured by detect_paragraph_length.py -- NOT verified (#8819)" "BFD4F2" # #8819 guard: if the payload is unreadable, never claim green. if [ "${OVERSZ_COUNT:-0}" = "UNREADABLE" ] 2>/dev/null; then diff --git a/.github/workflows/pedagogy-density-advisory.yml b/.github/workflows/pedagogy-density-advisory.yml index 35eae089c2..1024511605 100644 --- a/.github/workflows/pedagogy-density-advisory.yml +++ b/.github/workflows/pedagogy-density-advisory.yml @@ -129,7 +129,7 @@ jobs: # Helper: ensure a label exists (idempotent), then add/remove it. ensure_label() { - gh label create "$1" --description "$2" --color "$3" --force 2>/dev/null || true + gh label create "$1" --description "$2" --color "$3" --force || true } set_label() { gh pr edit "$PR_NUMBER" --add-label "$1" || true; } unset_label() { gh pr edit "$PR_NUMBER" --remove-label "$1" 2>/dev/null || true; } diff --git a/.github/workflows/slides-build-advisory.yml b/.github/workflows/slides-build-advisory.yml index eabce193fd..6e4809e730 100644 --- a/.github/workflows/slides-build-advisory.yml +++ b/.github/workflows/slides-build-advisory.yml @@ -391,7 +391,7 @@ jobs: if [ "$FAILURES" -gt 0 ]; then gh label create "$LABEL" \ --description "A Slidev deck impacted by this PR does not construct (#8807)" \ - --color "D93F0B" --force 2>/dev/null || true + --color "D93F0B" --force || true if [ "$NOCTURNE" -eq 1 ]; then echo "::warning::$FAILURES deck(s) impacted by the last-24h window failed to build. Failed:$FAILED_LIST" exit 0 diff --git a/.github/workflows/stale-base-warning.yml b/.github/workflows/stale-base-warning.yml index d7448a6150..b51c7394d1 100644 --- a/.github/workflows/stale-base-warning.yml +++ b/.github/workflows/stale-base-warning.yml @@ -78,5 +78,5 @@ jobs: fi echo "::warning::Base is ${AGE_DAYS}d behind main (${BEHIND} commits)" gh pr comment "$PR_NUMBER" --body "## Base Branch Stale Warning - ${AGE_DAYS}d behind main (${BEHIND} commits). Consider rebasing." 2>/dev/null || true - gh label create "base-stale-14d" --description "PR base >14d behind main" --color "FFA500" --force 2>/dev/null || true + gh label create "base-stale-14d" --description "PR base >14d behind main" --color "FFA500" --force || true gh pr edit "$PR_NUMBER" --add-label "base-stale-14d" 2>/dev/null || true diff --git a/.github/workflows/variation-light-genre.yml b/.github/workflows/variation-light-genre.yml index 7bbd707ee7..3c28006400 100644 --- a/.github/workflows/variation-light-genre.yml +++ b/.github/workflows/variation-light-genre.yml @@ -239,7 +239,7 @@ jobs: # initialisee ; on en reste a SIGVAL=False sans crasher. SIGVAL="${!SIGVAR:-False}" fi - gh label create "$LABEL" --description "$DESC" --color "$COLOR" --force 2>/dev/null || true + gh label create "$LABEL" --description "$DESC" --color "$COLOR" --force || true # #10341 -- aggregate signals (MAY_LABEL_INNOCENT="no") must not # label an innocent CONTENT candidate. The lane-day signal stays # real (surfaced in the diagnostic comment below), but the LABEL diff --git a/.github/workflows/variation-tag-guard.yml b/.github/workflows/variation-tag-guard.yml index 56ed0bff32..63512c126c 100644 --- a/.github/workflows/variation-tag-guard.yml +++ b/.github/workflows/variation-tag-guard.yml @@ -356,7 +356,7 @@ jobs: # donc create/add/remove tolerent l'echec sans tuer le job (|| true). gh label create variation-light-cap-reached \ --description "Lane ayant deja merge une LIGHT aujourd'hui (cap G-VAR-2 atteint)" \ - --color B60205 --force 2>/dev/null || true + --color B60205 --force || true if [ "$CAP" = "True" ]; then gh pr edit "$PR_NUMBER" --add-label variation-light-cap-reached 2>/dev/null || true @@ -907,8 +907,8 @@ jobs: # Advisory label for DEEP/MED adjacency (guard_pass stays true, the # job passes; the label surfaces the §2 judgment for the coordinator). gh label create variation-adjacency-deep-med \ - --description "Adjacence de genre DEEP/MED (hors liste LIGHT) : §2 l'autorise si substance distincte -- jugement au coordinateur" \ - --color FEF2C0 --force 2>/dev/null || true + --description "Adjacence DEEP/MED hors LIGHT : §2 l'autorise si substance distincte (coordinateur)" \ + --color FEF2C0 --force || true if [ "$ADJACENT" = "True" ]; then gh pr edit "$PR_NUMBER" --add-label variation-adjacency-deep-med 2>/dev/null || true else