We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b841f9 commit 6ad34c7Copy full SHA for 6ad34c7
2 files changed
action.yml
@@ -4,6 +4,9 @@ inputs:
4
whitelisted-github-ids:
5
description: 'The whitelisted github ids, set as env'
6
required: true
7
+ token:
8
+ description: 'The GITHUB_TOKEN'
9
+ required: true
10
branding:
11
color: "red"
12
icon: "lock"
src/index.ts
@@ -10,7 +10,7 @@ async function run() {
const allowedUserIds = allowedIds.split(',');
13
- const octokit = github.getOctokit(core.getInput('GITHUB_TOKEN'));
+ const octokit = github.getOctokit(core.getInput('token'));
14
15
const username = github.context.actor;
16
0 commit comments