Skip to content

Commit

Permalink
feat: pass githubToken as GITHUB_TOKEN for semanticRelease
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienrobert committed Feb 5, 2021
1 parent 8f966c6 commit 306de05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7059,6 +7059,7 @@ async function npmConfigRegistry(registryUrl, token) {
...process.env,
NPM_CONFIG_REGISTRY: `https://npm.pkg.github.com`,
NPM_TOKEN: githubToken,
GITHUB_TOKEN: githubToken
});
core.info('Release available on GitHub');
publishToGithub && core.info('Package available on GitHub registry');
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ import { npmConfigRegistry } from './config'
...process.env,
NPM_CONFIG_REGISTRY: `https://npm.pkg.github.com`,
NPM_TOKEN: githubToken,
GITHUB_TOKEN: githubToken
})

core.info(
Expand Down

0 comments on commit 306de05

Please sign in to comment.