Skip to content

fix: accept the concurrency queue key in the shared actionlint check - #41

Merged
kojiromike merged 1 commit into
mainfrom
kojiromike/actionlint-concurrency-queue
Oct 20, 2026
Merged

kojiromike merged 1 commit into
mainfrom
kojiromike/actionlint-concurrency-queue

Conversation

@kojiromike

@kojiromike kojiromike commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

This updates the shared actionlint check to accept queue under concurrency. It pins the OCE actionlint build to v1.7.12-oce.3.

After merge, the open release PR (#37, 1.1.1) picks this up. Once released, oce-ops-infra bumps its caller pin from 1.0.1 to that release in its own PR, and oce-ops-infra#217 rebases on it.

GitHub defines the key. Upstream actionlint rejects it and its fix at rhysd/actionlint#654 is unmerged. oce-ops-infra#217 needs queue: max and its actionlint check is red.

The oce.3 build includes oce.2, a cherry-pick of rhysd/actionlint#654, and a test for an expression group with queue: max. It also brings oce.2's job.workflow_* context support to callers of this workflow for the first time.

I verified this locally. The oce.3 build lints this repo's workflows and oce-ops-infra#217's with no errors. The fork's root package tests pass, and one generator-script test fails locally as it does at oce.2.

Refs https://github.com/openCoreEMR/oce-ops-infra/pull/217

Fork tag: https://github.com/openCoreEMR/actionlint/tree/v1.7.12-oce.3 (branch fix/concurrency-queue)

Summary by CodeRabbit

  • Chores
    • Updated the automated checks used to validate project workflows. This change affects development and maintenance processes; no user-facing features or behavior have changed.

This points the shared actionlint check at openCoreEMR/actionlint@v1.7.12-oce.3, which accepts the queue key under concurrency. GitHub's workflow syntax defines queue: single|max. Upstream actionlint v1.7.12 rejects it as an unexpected key, and the fix in rhysd/actionlint#654 is unmerged. The oce-ops-infra#217 pull request needs queue: max so a waiting argocd apply request or chart release is never canceled, and its actionlint check fails today.

The oce.3 tag carries oce.1, which has the create-github-app-token client-id metadata this pin already used, and it carries oce.2 for the job.workflow_* context properties. It adds the cherry-pick of rhysd/actionlint#654 and a test for an expression group with queue: max. A local build of the tag lints this repository's workflows and oce-ops-infra#217's with no errors. Callers pick it up only when they bump their pin to the release that carries this.

Assisted-by: Claude Code
@kojiromike
kojiromike requested a balanced review from Copilot October 19, 2026 21:26
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Team
  • Run ID: 11422be1-e6a1-4564-9cc6-4eff272e94ba
📥 Commits

Reviewing files that changed from the base of the PR and between b7e721d and bf7b976.

📒 Files selected for processing: 1
  • .github/workflows/actionlint.yml

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 8 reviews per hour.

📝 Walkthrough

The actionlint workflow step now references openCoreEMR/actionlint@v1.7.12-oce.3 instead of v1.7.12-oce.1.

Changes: Actionlint workflow version

Layer / File(s) Summary
Update actionlint action version
.github/workflows/actionlint.yml
The actionlint step now uses openCoreEMR/actionlint@v1.7.12-oce.3.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to bf7b9

The workflow advances actionlint to oce.3. The repository’s documented version-tag policy is followed, and no actionable merge risk is established.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: updating the shared actionlint check to accept the queue key under concurrency.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The workflow edit is straightforward, but the external fork release’s contents and compatibility could not be independently verified.

No open issues 🎉

What changed in this PR

Updates the shared actionlint workflow to accept concurrency.queue, supporting downstream workflows that need queue: max.

Changes:

  • Bumps the OCE actionlint pin from v1.7.12-oce.1 to v1.7.12-oce.3.
  • Also introduces the fork’s job.workflow_* context support to callers.
File Description
.github/​workflows/​actionlint.yml Updates the actionlint action version.

Review effort: Balanced

@kojiromike
kojiromike merged commit 3036a0f into main Oct 20, 2026
3 checks passed
@kojiromike
kojiromike deleted the kojiromike/actionlint-concurrency-queue branch October 20, 2026 00:55
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.

2 participants