Unverified Commit ad79fed1 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub
parent 03d6dcc0
...@@ -18,7 +18,7 @@ on: ...@@ -18,7 +18,7 @@ on:
- major - major
secrets: secrets:
RELEASE_BOT_TOKEN: RELEASE_BOT_GITHUB_TOKEN:
required: true required: true
name: Trigger Release name: Trigger Release
...@@ -78,4 +78,4 @@ jobs: ...@@ -78,4 +78,4 @@ jobs:
- run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType }} --semver-type ${{ github.event.inputs.semverType }} - run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType }} --semver-type ${{ github.event.inputs.semverType }}
env: env:
RELEASE_BOT_TOKEN: ${{ secrets.RELEASE_BOT_TOKEN }} RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
...@@ -95,10 +95,10 @@ async function main() { ...@@ -95,10 +95,10 @@ async function main() {
return return
} }
const githubToken = process.env.RELEASE_BOT_TOKEN const githubToken = process.env.RELEASE_BOT_GITHUB_TOKEN
if (!githubToken) { if (!githubToken) {
console.log(`Missing RELEASE_BOT_TOKEN`) console.log(`Missing RELEASE_BOT_GITHUB_TOKEN`)
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment