Skip to content

Commit 6ad34c7

Browse files
committed
Fix token
1 parent 4b841f9 commit 6ad34c7

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ inputs:
44
whitelisted-github-ids:
55
description: 'The whitelisted github ids, set as env'
66
required: true
7+
token:
8+
description: 'The GITHUB_TOKEN'
9+
required: true
710
branding:
811
color: "red"
912
icon: "lock"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function run() {
1010

1111
const allowedUserIds = allowedIds.split(',');
1212

13-
const octokit = github.getOctokit(core.getInput('GITHUB_TOKEN'));
13+
const octokit = github.getOctokit(core.getInput('token'));
1414

1515
const username = github.context.actor;
1616

0 commit comments

Comments
 (0)