Skip to content

Accept pick-runner JSON as runs-on in shared workflows - #46

Merged
goastler merged 2 commits into
mainfrom
ci/json-runs-on
Nov 6, 2026
Merged

goastler merged 2 commits into
mainfrom
ci/json-runs-on

Conversation

@goastler

@goastler goastler commented Nov 6, 2026

Copy link
Copy Markdown
Member

What changed

  • static, test, security, pr-housekeeping, auto-update-pr and cancel-runs-on-pr-close now accept runs-on as a plain label or as a JSON array of labels (what pick-runner outputs).
  • auto-update-pr and cancel-runs-on-pr-close get a runs-on input (they were fixed to ubuntu-latest).
  • This repo's CI calls static.yml with the JSON form, so both forms are exercised.

Effect

Repos that use pick-runner can send these stages to the picked runner. Existing callers passing a label keep working.

Tests

actionlint clean; ci.yml runs static.yml with JSON and with labels.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H1ZqeFbuR8YxxrUEUaC3zS

@goastler
goastler merged commit e6f2778 into main Nov 6, 2026
83 checks passed
@goastler
goastler deleted the ci/json-runs-on branch November 6, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant