You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub Actions requires static queue values and rejects queue: max with cancellation. Separate production and pull-request caller jobs preserve both required behaviors.
Co-authored-by: Copilot <223556698+Copilot@users.noreply.github.com>
Every permission in that block is required. GitHub App installation tokens perform repository writes. A push to `main` publishes a stable release after the full pipeline passes;
75
-
the pull-request trigger handles CI, prereleases, and prerelease cleanup. See
90
+
Every permission on the calling jobs is required. GitHub App installation tokens perform repository writes. A push to
91
+
`main` publishes a stable release after the full pipeline passes; the pull-request trigger handles CI, prereleases,
92
+
and prerelease cleanup. See
76
93
[Workflow inputs](../reference/workflow-inputs.md) for what each permission is used for, and
77
94
[Calling the workflow](../guides/calling-the-workflow.md) for passing test secrets and variables.
78
95
79
-
The caller-level concurrency block retains production and manual work while replacing obsolete work for the same pull
80
-
request. The fallback expression uses the pull-request number for every pull-request action, including `closed`; other
81
-
events use their Git ref. Keep its group distinct from the reusable workflow's prefixed group.
96
+
The production job retains pushes, dispatches, and scheduled work in the maximum native queue. The pull-request job
97
+
cancels obsolete activity and uses the pull-request number for every action, including `closed`. GitHub requires a
98
+
literal queue value and does not permit cancellation with `queue: max`, so the two jobs use separate compatible
99
+
policies. Keep both groups distinct from the reusable workflow's prefixed group.
0 commit comments