Repository navigation
Conversation
Fixes #657 and #647. - Allow `queue` in workflow/job concurrency sections - Add job.workflow_ref, job.workflow_sha, job.workflow_repository, and job.workflow_file_path expression context properties Co-authored-by: Cursor <[email protected]>
Contributor
PR #654 also addresses this part. |
4 tasks done
This was referenced Aug 5, 2026
telafifi
added a commit
to EmergentMatter/actions
that referenced
this pull request
Aug 19, 2026
Correcting my own error. The property that gives a reusable workflow its own commit is job.workflow_sha, under the job context -- not github.job_workflow_sha, which does not exist. GitHub's contexts reference documents job.workflow_ref/_sha/_repository/_file_path and states that for a job defined in a reusable workflow they refer to the reusable workflow file; actions/runner#4335 shipped them. The assertion added earlier is what made this knowable: it failed loudly with 'empty' for the github.* form instead of silently checking out the default branch, which is what both earlier derivations did while appearing to work. So: use job.workflow_sha when it resolves to a 40-char SHA, since it cannot drift from the pinned @ref -- it IS that commit. Fall back to the explicit actions-ref input otherwise, and say so with ::notice so the log records which path was taken. Fail only when neither is available. actionlint rejects job.workflow_sha too; its context schema predates the property (rhysd/actionlint#661, #696, #707 all still open). That is a stale linter, not a signal to revert. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
seankoji
added a commit
to seankoji-com/opencode-localise-timestamps
that referenced
this pull request
Sep 11, 2026
…es (#13) * fix(ci): use the maintained actionlint fork so concurrency.queue parses rhysd/actionlint is inactive (last release v1.7.12, 2026-03-30) and its concurrency parser rejects the queue key that the synced call-reusable-pr-gatekeeper.yml uses (rhysd/actionlint#661 closed unmerged). Point the download at kjanat/actionlint v1.16.1, which implements it and keeps the same CLI. See seankoji-com/.github#200. * fix(ci): bump node20 action runtimes surfaced by the actionlint fork The maintained fork is stricter than rhysd/actionlint v1.7.12 and flags node20 runtimes whose removal is scheduled for 2026-09-23: actions/checkout@v4 -> v7, actions/create-github-app-token@v2 -> v3 (with app-id -> client-id, same vars.SEANKOJI_CI_APP_ID value already passed as client-id elsewhere), actions/setup-node@v4 -> v7. Verified: kjanat/actionlint 1.16.1 over .github/workflows/*.yml exits 0.
seankoji
added a commit
to seankoji-com/frugalbar
that referenced
this pull request
Sep 11, 2026
…es (#64) * fix(ci): use the maintained actionlint fork so concurrency.queue parses rhysd/actionlint is inactive (last release v1.7.12, 2026-03-30) and its concurrency parser rejects the queue key that the synced call-reusable-pr-gatekeeper.yml uses (rhysd/actionlint#661 closed unmerged). Switch the docker:// action to kjanat/actionlint:1.16.1, which implements it and keeps the same CLI. See seankoji-com/.github#200. * fix(ci): emit an empty Swift SARIF on the CodeQL skip path The 'CodeQL on public repos' ruleset's code-scanning rule requires a CodeQL result for the head SHA. When analyze-swift skips its analysis steps (no Swift changes), no SARIF is uploaded, so the rule blocks with 'Code scanning is still expecting 1 result from CodeQL' even though the job runs green. Upload an empty SARIF for the /language:swift category on the skip path so CodeQL records a 0-alert result for the SHA and the rule is satisfied, without paying the ~17-minute traced build.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #657 and #647.
queuein workflow and jobconcurrencysectionsjob.workflow_ref,job.workflow_sha,job.workflow_repository, andjob.workflow_file_pathin expressionsTest plan
go test ./...