We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af1cf76 commit b4b4bd0Copy full SHA for b4b4bd0
1 file changed
.github/workflows/prepare.yml
@@ -2,6 +2,9 @@ name: Prepare Version
2
3
on:
4
workflow_call:
5
+ secrets:
6
+ RELEASE_TOKEN:
7
+ required: true
8
inputs:
9
default_version:
10
description: 'Default version if no input is provided'
@@ -64,7 +67,8 @@ jobs:
64
67
uses: actions/checkout@v6
65
68
with:
66
69
ref: ${{ inputs.ref || github.ref }}
- token: ${{ secrets.GITHUB_TOKEN }}
70
+ # token: ${{ secrets.GITHUB_TOKEN }}
71
+ token: ${{ secrets.RELEASE_TOKEN }}
72
fetch-depth: 0
73
74
- name: Setup Node.js
@@ -80,8 +84,10 @@ jobs:
80
84
extra_plugins: |
81
85
@semantic-release/changelog
82
86
@semantic-release/git
87
+ # env:
88
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83
89
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90
+ GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
91
92
- name: Get version info
93
id: version
0 commit comments