Skip to content

Commit 306de05

Browse files
committed
feat: pass githubToken as GITHUB_TOKEN for semanticRelease
1 parent 8f966c6 commit 306de05

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7059,6 +7059,7 @@ async function npmConfigRegistry(registryUrl, token) {
70597059
...process.env,
70607060
NPM_CONFIG_REGISTRY: `https://npm.pkg.github.com`,
70617061
NPM_TOKEN: githubToken,
7062+
GITHUB_TOKEN: githubToken
70627063
});
70637064
core.info('Release available on GitHub');
70647065
publishToGithub && core.info('Package available on GitHub registry');

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ import { npmConfigRegistry } from './config'
105105
...process.env,
106106
NPM_CONFIG_REGISTRY: `https://npm.pkg.github.com`,
107107
NPM_TOKEN: githubToken,
108+
GITHUB_TOKEN: githubToken
108109
})
109110

110111
core.info(

0 commit comments

Comments
 (0)