Skip to content

Commit f854a98

Browse files
committed
fix: Use github.event.inputs for workflow_dispatch inputs
1 parent 4ee7fb6 commit f854a98

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

.github/workflows/prepare_batch_release.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
force:
99
description: Force a release even when there are release-blockers
1010
required: false
11+
1112
permissions:
1213
contents: write
1314
pull-requests: write
@@ -17,20 +18,22 @@ jobs:
1718
runs-on: ubuntu-latest
1819
name: Release a new version
1920
steps:
20-
- name: Get auth token
21-
id: token
22-
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v2
23-
with:
24-
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
25-
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
26-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v2
27-
with:
28-
token: ${{ steps.token.outputs.token }}
29-
fetch-depth: 0
30-
- name: Prepare release
31-
uses: getsentry/craft@39ee616a6a58dc64797feecb145d66770492b66c # v2
32-
env:
33-
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
34-
with:
35-
version: ${{ inputs.version }}
36-
force: ${{ inputs.force }}
21+
- name: Get auth token
22+
id: token
23+
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1
24+
with:
25+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
26+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
27+
28+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
29+
with:
30+
token: ${{ steps.token.outputs.token }}
31+
fetch-depth: 0
32+
33+
- name: Prepare release
34+
uses: getsentry/craft@39ee616a6a58dc64797feecb145d66770492b66c # v2
35+
env:
36+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
37+
with:
38+
version: ${{ github.event.inputs.version }}
39+
force: ${{ github.event.inputs.force }}

0 commit comments

Comments
 (0)