Skip to content

Commit b9e4fbd

Browse files
committed
fix: clean up release.yml formatting and version comments
1 parent 7dc72dd commit b9e4fbd

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
11
name: release
2+
23
on:
34
workflow_dispatch:
45
inputs:
56
version:
67
description: Version to release (or "auto")
78
required: false
89
force:
9-
description: Force a release even when there are release-blockers
10+
description: Force a release even when there are release-blockers (optional)
1011
required: false
12+
1113
permissions:
1214
contents: write
1315
pull-requests: write
1416

1517
jobs:
1618
release:
1719
runs-on: ubuntu-latest
18-
name: Release a new version
20+
name: 'Release a new version'
1921
steps:
20-
- name: Get auth token
21-
id: token
22-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # 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@1c58bfd57bfd6a967b6f3fc92bead2c42ee698ce # v2
32-
env:
33-
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
34-
with:
35-
version: ${{ inputs.version }}
36-
force: ${{ inputs.force }}
22+
- name: Get auth token
23+
id: token
24+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
25+
with:
26+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
27+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
28+
29+
- uses: actions/checkout@v2
30+
with:
31+
token: ${{ steps.token.outputs.token }}
32+
fetch-depth: 0
33+
34+
- name: Prepare release
35+
uses: getsentry/craft@1c58bfd57bfd6a967b6f3fc92bead2c42ee698ce # v2
36+
env:
37+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
38+
with:
39+
version: ${{ github.event.inputs.version }}
40+
force: ${{ github.event.inputs.force }}

0 commit comments

Comments
 (0)