Skip to content

Commit f85c757

Browse files
Automatic update. Managed by Terraform
1 parent 84b3a2f commit f85c757

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- name: Analyze commits
2121
id: next_release_version
2222
run: |
23+
2324
npm install --save-dev semantic-release > /dev/null
2425
sed -i "s#const {isCi, branch, prBranch, isPr} = context.envCi;#const {isCi, branch, prBranch, isPr} = {isCi: false, branch: '${{ github.event.pull_request.head.ref }}', prBranch: undefined, isPr: undefined};#" node_modules/semantic-release/index.js
2526
echo ::set-output name=TAG::$(npx semantic-release -b ${{ github.event.pull_request.head.ref }} -p '@semantic-release/commit-analyzer' --dry-run --no-ci | grep -oiP 'the next release version is *\K.*')
@@ -55,4 +56,4 @@ jobs:
5556
id: release
5657
uses: cycjimmy/semantic-release-action@v2
5758
env:
58-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
GITHUB_TOKEN: ${{ secrets.KINGKONG_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)