ci: N6-komplett concurrency och push-filter (röd tråd, jobbstorm §4–5)
masterplan-lock / check (push) Skipped
masterplan-lock / check (pull_request) Successful in 5s
security / scan (pull_request) Failing after 25s

Enligt server-config ci/jobbstorm-2026-11-10 §4–5:
- masterplan-lock.yml: push bara på main (pull_request täcker feature-grenar,
  ingen dubbelkörning) och kanonisk grupp ${{ gitea.workflow }}-${{ gitea.ref }}.
  Gruppen ${{ github.head_ref || github.ref }} slog inte ihop push- och
  PR-körningen (refs/heads/<gren> mot <gren>), jobbstorm orsak C.
- ci.yml, security.yml: kanonisk grupp ${{ gitea.workflow }}-${{ gitea.ref }}.

Bara concurrency och push-filter ändras (workflow-diff-guard.py ok=true).
Grenskyddet kräver sedan bara "masterplan-lock / check (pull_request)",
som fortsatt rapporteras på varje PR (regel b).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude Code
2026-11-11 00:31:41 +01:00
co-authored by Claude Opus 5.5
parent 2a14b551c3
commit 94212b9d4a
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -5,8 +5,9 @@ on:
branches: ["main"]
workflow_dispatch:
# N6 (server-config ci/jobbstorm-2026-11-10 §4): en ny commit på samma PR/gren avbryter den inaktuella körningen.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs:
+3 -2
View File
@@ -8,12 +8,13 @@ name: masterplan-lock
on:
push:
branches: ["**"]
branches: [main]
pull_request:
workflow_dispatch:
# N6 (server-config ci/jobbstorm-2026-11-10 §4): en ny commit på samma PR/gren avbryter den inaktuella körningen.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs:
+2 -1
View File
@@ -27,8 +27,9 @@ on:
schedule:
- cron: "17 2 * * *"
permissions: { contents: read }
# N6 (server-config ci/jobbstorm-2026-11-10 §4): en ny commit på samma PR/gren avbryter den inaktuella körningen.
concurrency:
group: security-${{ github.ref }}
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs: