Skip to content

Commit 622c62c

Browse files
authored
ci: allow passing specific sha in release action (#11109)
### Description <!-- ✍️ Write a short summary of your work. If necessary, include relevant screenshots. --> Allows for passing in a commit sha to the release action to run a point-in-time release. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
1 parent fdc7e65 commit 622c62c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/turborepo-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,18 @@ on:
5252
required: false
5353
type: string
5454
default: ""
55-
55+
sha:
56+
description: "Override the SHA to use for the release. Should rarely be used, usually only for debugging."
57+
required: false
58+
type: string
59+
default: ""
5660
jobs:
5761
stage:
5862
runs-on: ubuntu-latest
5963
steps:
6064
- uses: actions/checkout@v4
65+
with:
66+
ref: ${{ inputs.sha || github.sha }}
6167
- uses: ./.github/actions/setup-node
6268
with:
6369
enable-corepack: false

0 commit comments

Comments
 (0)