Skip to content

Commit 9dcbdf8

Browse files
jonkoopsrolandjitsu
authored andcommitted
chore: follow defaults for semantic-release
Signed-off-by: Jon Koops <[email protected]>
1 parent 9d9322d commit 9dcbdf8

File tree

4 files changed

+9683
-3158
lines changed

4 files changed

+9683
-3158
lines changed

.github/workflows/release.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ on:
77
- "[0-9]+.[0-9]+.x"
88

99
permissions:
10-
contents: read
10+
contents: read # for checkout
1111

1212
jobs:
1313
release:
1414
name: Release
1515
runs-on: ubuntu-latest
1616
permissions:
17-
contents: write
18-
issues: write
19-
pull-requests: write
20-
id-token: write
17+
contents: write # to be able to publish a GitHub release
18+
issues: write # to be able to comment on released issues
19+
pull-requests: write # to be able to comment on released pull requests
20+
id-token: write # to enable use of OIDC for npm provenance
2121
steps:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
2424
with:
25-
fetch-depth: 0
25+
fetch-depth: 0 # fetch all history
2626

2727
- name: Setup Node.js
2828
uses: actions/setup-node@v4
@@ -33,7 +33,7 @@ jobs:
3333
run: npm ci
3434

3535
- name: Release
36-
run: npx -y semantic-release@^24.1.2
3736
env:
3837
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3938
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
run: npx semantic-release

.releaserc.yaml

-4
This file was deleted.

0 commit comments

Comments
 (0)