Skip to content

Commit a86843a

Browse files
committed
ci: release workflow fix
1 parent b8a80eb commit a86843a

File tree

3 files changed

+7
-250
lines changed

3 files changed

+7
-250
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,26 @@ jobs:
1313
continue: ${{ steps.check.outputs.continue }}
1414
workflow: ${{ steps.check.outputs.workflow }}
1515
steps:
16+
- name: Checkout the repository
17+
uses: actions/checkout@v4
1618
- name: Context check
1719
id: check
1820
uses: trigensoftware/simple-release-action@latest
1921
with:
2022
workflow: check
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
2124
pull-request:
2225
runs-on: ubuntu-latest
2326
name: Pull request
2427
needs: check
2528
if: needs.check.outputs.workflow == 'pull-request'
2629
steps:
30+
- name: Checkout the repository
31+
uses: actions/checkout@v4
2732
- name: Create or update pull request
2833
uses: trigensoftware/simple-release-action@latest
2934
with:
35+
workflow: pull-request
3036
github-token: ${{ secrets.GITHUB_TOKEN }}
3137
release:
3238
runs-on: ubuntu-latest
@@ -51,5 +57,6 @@ jobs:
5157
- name: Release
5258
uses: trigensoftware/simple-release-action@latest
5359
with:
60+
workflow: release
5461
github-token: ${{ secrets.GITHUB_TOKEN }}
5562
npm-token: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"@commitlint/config-conventional": "^19.8.1",
3434
"@commitlint/config-pnpm-scopes": "^19.8.1",
3535
"@commitlint/cz-commitlint": "^19.8.1",
36-
"@simple-release/pnpm": "^2.0.0",
3736
"@trigen/eslint-config": "8.0.0-alpha.33",
3837
"@trigen/scripts": "8.0.0-alpha.33",
3938
"@vitest/coverage-v8": "^3.2.2",

0 commit comments

Comments
 (0)