Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name: Release run
# Reusable pipeline shared by every run kind, called from release.yml. All the
# kind-specific behaviour is gated on inputs.kind so the logic lives in one
# place; release.yml decides the kind and selects which caller job runs.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions: {}
jobs:
# Decide once what this run does, then fan out to one job per kind so each
# appears as its own job in the UI and gets least-privilege permissions.
# The shared pipeline lives in _run.yml; the jobs below only select it.
# The shared pipeline lives in _release-run.yml; the jobs below only select it.
# RELEASE - workflow_dispatch, first attempt: bump, tag, push, publish.
# RELEASE_RETRY - workflow_dispatch whose tag is already on origin from a
# prior attempt: skip bump/push, republish the tag (so a
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
if: needs.determine.outputs.kind == 'RELEASE'
permissions:
contents: read
uses: ./.github/workflows/_run.yml
uses: ./.github/workflows/_release-run.yml
with:
kind: RELEASE
version: ${{ inputs.version }}
Expand All @@ -81,7 +81,7 @@ jobs:
if: needs.determine.outputs.kind == 'RELEASE_RETRY'
permissions:
contents: read
uses: ./.github/workflows/_run.yml
uses: ./.github/workflows/_release-run.yml
with:
kind: RELEASE_RETRY
version: ${{ inputs.version }}
Expand All @@ -91,7 +91,7 @@ jobs:
if: needs.determine.outputs.kind == 'DRY_RUN'
permissions:
contents: read
uses: ./.github/workflows/_run.yml
uses: ./.github/workflows/_release-run.yml
with:
kind: DRY_RUN
secrets: inherit
Expand All @@ -100,7 +100,7 @@ jobs:
if: needs.determine.outputs.kind == 'SNAPSHOT'
permissions:
contents: read
uses: ./.github/workflows/_run.yml
uses: ./.github/workflows/_release-run.yml
with:
kind: SNAPSHOT
secrets: inherit
Loading