Skip to content

Commit

Permalink
fix: always pass gitHub token to semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendargelos authored Dec 13, 2021
1 parent 306de05 commit 437eef0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ import { npmConfigRegistry } from './config'
await release(cliPath, false, publishToNPM, {
...process.env,
NPM_CONFIG_REGISTRY: 'https://registry.npmjs.org',
NPM_TOKEN: npmToken
NPM_TOKEN: npmToken,
GITHUB_TOKEN: githubToken
})

publishToNPM && core.info(
Expand Down

0 comments on commit 437eef0

Please sign in to comment.