Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,17 @@ jobs:
new_release_version: ${{ steps.semantic.outputs.new_release_version }}
release_sha: ${{ steps.release-sha.outputs.sha }}
steps:
- uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand All @@ -48,17 +55,12 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v6
id: semantic
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
SEMANTIC_RELEASE_DEBUG: true

- name: Capture release SHA
Expand Down
2 changes: 1 addition & 1 deletion release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const config = {
message: "chore: release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
},
],
"@semantic-release/github",
["@semantic-release/github", { releasedLabels: false, successComment: false }],
],
};

Expand Down