Skip to content

Commit 1c3a9c8

Browse files
authored
chore/trusted publisher (#6)
1 parent d1c8185 commit 1c3a9c8

3 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
runs-on: ubuntu-latest
1515
permissions:
1616
contents: write
17-
issues: write
18-
pull-requests: write
1917
id-token: write
2018

2119
steps:
@@ -44,4 +42,3 @@ jobs:
4442
run: npm run release
4543
env:
4644
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.releaserc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@
2626
"npmPublish": true
2727
}
2828
],
29-
"@semantic-release/github",
29+
[
30+
"@semantic-release/github",
31+
{
32+
"successComment": false,
33+
"failComment": false
34+
}
35+
],
3036
[
3137
"@semantic-release/git",
3238
{

CONTRIBUTING.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,3 @@ Releases are automated with semantic-release via GitHub Actions on pushes to `ma
6868

6969
- Commits should follow Conventional Commits (`feat:`, `fix:`, `feat!:`) so the next version can be calculated correctly.
7070
- The workflow publishes to npm and creates a GitHub release and tag like `v2.1.0`.
71-
- Configure repository secret `NPM_TOKEN` with publish access to `@apisyouwonthate/spectral-jsonapi`.
72-
73-
You can test release logic locally in dry-run mode:
74-
75-
```bash
76-
npm run release -- --dry-run --no-ci
77-
```

0 commit comments

Comments
 (0)