Skip to content

Commit 3754005

Browse files
committed
Fix passing function insead of the results
1 parent 51d738b commit 3754005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snapshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export async function submitSnapshot(
144144
core.notice(snapshot.prettyJSON())
145145

146146
const repo = context.repo
147-
const githubToken = core.getInput('token') || core.getIDToken
147+
const githubToken = core.getInput('token') || (await core.getIDToken())
148148
const octokit = new Octokit({
149149
auth: githubToken
150150
})

0 commit comments

Comments
 (0)