ci: check workflow YAML on pull requests #225

Merged
founder merged 1 commit from devex/check-workflows-lane into main 2026-09-13 15:32:46 +00:00
Member

Makes the duplicate YAML mapping-key guard a first-class PR lane for every workflow change, while retaining a push-to-main backstop.

  • adds Check: Workflows on pull_request and pushes to main, path-filtered to workflows and the guard
  • runs without secrets or OIDC on namespace-profile-linux-small
  • records the lane under the public PR-check trust boundary

Local verification:

$ /bin/bash Scripts/ci/workflow-yaml-guard.sh
workflow-yaml-guard: 32 workflow file(s), no duplicate mapping keys.

$ /bin/bash Scripts/ci/workflow-yaml-guard.sh /tmp/check-workflows-duplicate.cxKF8a.yml
::error ::workflow-yaml-guard: duplicate mapping key(s) in a workflow. The runner decodes the affected node as EMPTY (job env/with/outputs vanish) or Forgejo refuses the file outright.
../check-workflows-duplicate.cxKF8a.yml:8:7: key "DUPLICATE" is duplicated in "env" section. previously defined at line:7,col:7. note that this key is case insensitive [syntax-check]
(exit 1)

The repository had 31 workflow files before this change; the new lane brings the guarded total to 32.

Makes the duplicate YAML mapping-key guard a first-class PR lane for every workflow change, while retaining a push-to-main backstop. - adds `Check: Workflows` on `pull_request` and pushes to `main`, path-filtered to workflows and the guard - runs without secrets or OIDC on `namespace-profile-linux-small` - records the lane under the public PR-check trust boundary Local verification: ```text $ /bin/bash Scripts/ci/workflow-yaml-guard.sh workflow-yaml-guard: 32 workflow file(s), no duplicate mapping keys. $ /bin/bash Scripts/ci/workflow-yaml-guard.sh /tmp/check-workflows-duplicate.cxKF8a.yml ::error ::workflow-yaml-guard: duplicate mapping key(s) in a workflow. The runner decodes the affected node as EMPTY (job env/with/outputs vanish) or Forgejo refuses the file outright. ../check-workflows-duplicate.cxKF8a.yml:8:7: key "DUPLICATE" is duplicated in "env" section. previously defined at line:7,col:7. note that this key is case insensitive [syntax-check] (exit 1) ``` The repository had 31 workflow files before this change; the new lane brings the guarded total to 32.
ci: check workflow YAML on pull requests
All checks were successful
Check: Workflows / Check (Workflow YAML) (pull_request) Successful in 33s
d5863b7b84
founder approved these changes 2026-09-13 12:09:14 +00:00
Owner

Operator integration under the founder's recorded first-work approval: rebased d5863b7b84 onto reviewed main e927177026, preserving original authorship. New head e6198ffbde is SSH-signed by the tracked agent identity and verifies against the forge signer registry. Stable patch ID is unchanged (d88db8f8f636b673234db8a99cc1fe0caa4304db); this rebase adds no new feature scope. Diff whitespace check passed. Relevant validation and merge results will be recorded before completion.

Operator integration under the founder's recorded first-work approval: rebased d5863b7b8407243d794987f9d47b4176090a3050 onto reviewed main e927177026fca3a14f6152df20d0820212948ccb, preserving original authorship. New head e6198ffbde2d933b83d7a95faaddc83037a2884f is SSH-signed by the tracked agent identity and verifies against the forge signer registry. Stable patch ID is unchanged (d88db8f8f636b673234db8a99cc1fe0caa4304db); this rebase adds no new feature scope. Diff whitespace check passed. Relevant validation and merge results will be recorded before completion.
founder force-pushed devex/check-workflows-lane from d5863b7b84
All checks were successful
Check: Workflows / Check (Workflow YAML) (pull_request) Successful in 33s
to e6198ffbde
Some checks failed
Check: Workflows / Check (Workflow YAML) (pull_request) Successful in 32s
Release: If Needed / Check (Release Needed) (push) Successful in 5s
Check: Workflows / Check (Workflow YAML) (push) Successful in 7s
Deploy: Web / Deploy (Web) (push) Failing after 1m41s
Deploy: API / Deploy (API) (push) Successful in 2m57s
2026-09-13 15:30:20 +00:00
Compare
Owner

Integration validation for e6198ffbde: The rebased head passed its native Check: Workflows / Check (Workflow YAML) PR workflow. The already-recorded founder approval applies to the unchanged first-work patch. Merging through the normal fast-forward PR operation; no branch protections or failing status records were altered.

Integration validation for e6198ffbde2d933b83d7a95faaddc83037a2884f: The rebased head passed its native Check: Workflows / Check (Workflow YAML) PR workflow. The already-recorded founder approval applies to the unchanged first-work patch. Merging through the normal fast-forward PR operation; no branch protections or failing status records were altered.
Sign in to join this conversation.
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
key-store/key.store!225
No description provided.