Skip to content

Commit a837de4

Browse files
committed
debug
1 parent 0a4ce57 commit a837de4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "execute-whitelist-action",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Action to whitelist executions",
55
"main": "index.ts",
66
"scripts": {

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ async function run() {
1010

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

13-
core.warning(`First user id: ${allowedUserIds[0]}`)
13+
console.log(`First user id: ${allowedUserIds[0]}`)
1414

1515
const octokit = github.getOctokit(core.getInput('token'));
1616

1717
const username = github.context.actor;
1818

19-
core.warning(`Username: ${username}`)
19+
console.log(`Username: ${username}`)
2020

2121
const { data: user } = await octokit.rest.users.getByUsername({
2222
username: username,
2323
});
2424

25-
core.warning(`User id: ${user.id}`)
25+
console.log(`User id: ${user.id}`)
2626

2727
const userId = user.id.toString();
2828

0 commit comments

Comments
 (0)