Skip to content

Commit 81c0a51

Browse files
feat: add support for tokenless v3 (#1410)
1 parent f5e203f commit 81c0a51

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

dist/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/buildExec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const isPullRequestFromFork = (): boolean => {
4848
const getToken = async (): Promise<string> => {
4949
if (isPullRequestFromFork()) {
5050
core.info('==> Fork detected, tokenless uploading used');
51+
process.env['TOKENLESS'] = context.payload.pull_request.head.label;
5152
return Promise.resolve('');
5253
}
5354
let token = core.getInput('token');

0 commit comments

Comments
 (0)