Skip to content

Commit a9cb907

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

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 3 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
18-
uses: trigensoftware/simple-release-action@latest
20+
uses: trigensoftware/simple-release-action@debug
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
28-
uses: trigensoftware/simple-release-action@latest
33+
uses: trigensoftware/simple-release-action@debug
2934
with:
35+
workflow: pull-request
3036
github-token: ${{ secrets.GITHUB_TOKEN }}
3137
release:
3238
runs-on: ubuntu-latest
@@ -49,7 +55,8 @@ jobs:
4955
- name: Install dependencies
5056
run: pnpm install
5157
- name: Release
52-
uses: trigensoftware/simple-release-action@latest
58+
uses: trigensoftware/simple-release-action@debug
5359
with:
60+
workflow: release
5461
github-token: ${{ secrets.GITHUB_TOKEN }}
5562
npm-token: ${{ secrets.NPM_TOKEN }}

.simple-release.js

Whitespace-only changes.

0 commit comments

Comments
 (0)