mirror of
https://github.com/openai/codex-security.git
synced 2026-12-03 20:09:03 +08:00
fix(release): queue container publishes and pin release helpers (#1806)
fix(release): preserve queued publications and artifact metadata
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
paths:
|
||||
.github/workflows/{node-github-release,node-release-cut,node-release}.yml:
|
||||
.github/workflows/{container-release,node-github-release,node-release-cut,node-release}.yml:
|
||||
ignore:
|
||||
# actionlint 1.7.12 predates GitHub's queue: max support. Keep release queuing.
|
||||
# https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/control-workflow-concurrency
|
||||
|
||||
@@ -16,7 +16,9 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
concurrency: container-release-publish
|
||||
concurrency:
|
||||
group: container-release-publish
|
||||
queue: max
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -443,6 +445,7 @@ jobs:
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
attestations: write
|
||||
artifact-metadata: write
|
||||
contents: read
|
||||
id-token: write
|
||||
packages: write
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
ref: refs/heads/main
|
||||
ref: ${{ github.sha }}
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
@@ -736,6 +736,7 @@ jobs:
|
||||
contents: read
|
||||
packages: write
|
||||
attestations: write
|
||||
artifact-metadata: write
|
||||
id-token: write
|
||||
uses: ./.github/workflows/container-release.yml
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user