Non-greedy *?/+? over an uncaptured structured ref drops the implicit array scope
#16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-ready unblocked issues | |
| # When an issue closes, any issue it was blocking whose blockers are now ALL | |
| # closed is promoted Backlog -> Ready on the Plotnik project board. | |
| # | |
| # Projects has no built-in automation for dependency-driven status changes, so | |
| # this "blocker -> Ready" leg lives here. The "issue closed -> Done" leg is | |
| # handled by the project's built-in "Item closed" workflow. | |
| # | |
| # Logic lives in .github/scripts/auto_ready.py (GraphQL-only, stdlib-only). | |
| on: | |
| issues: | |
| types: [closed] | |
| # Manual hook for testing / re-running against an already-closed issue. | |
| workflow_dispatch: | |
| inputs: | |
| issue_number: | |
| description: Closed issue whose now-unblocked dependents should be promoted | |
| required: true | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: auto-ready | |
| cancel-in-progress: false | |
| jobs: | |
| promote: | |
| runs-on: ubuntu-latest | |
| env: | |
| # PAT needs org Projects (read & write) + repo Issues (read). The default | |
| # GITHUB_TOKEN cannot write an org-owned Projects v2 board. | |
| GH_TOKEN: ${{ secrets.PLOTNIK_PAT }} | |
| OWNER: plotnik-lang | |
| REPO_NAME: plotnik | |
| PROJECT_ID: PVT_kwDODsGSMc4BafFQ | |
| STATUS_FIELD_ID: PVTSSF_lADODsGSMc4BafFQzhVWXyw | |
| READY_OPTION: 61e4505c | |
| CLOSED_ISSUE: ${{ github.event.issue.number || github.event.inputs.issue_number }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| - run: python3 .github/scripts/auto_ready.py |