Skip to content

Commit 2a28eac

Browse files
committed
fix: clean up release.yml formatting and version comments
1 parent 102f3ca commit 2a28eac

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
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@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2.2.0
25+
with:
26+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
27+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
28+
- uses: actions/checkout@v6
29+
with:
30+
token: ${{ steps.token.outputs.token }}
31+
fetch-depth: 0
32+
33+
- name: Prepare release
34+
uses: getsentry/craft@1c58bfd57bfd6a967b6f3fc92bead2c42ee698ce # 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)