Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
vj-abishek committed Jan 14, 2021
1 parent 861d5e4 commit 77db7b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ const github = require('@actions/github');

const main = async () => {
try {
const { ACCESS_TOKEN } = process.env;
if (!ACCESS_TOKEN) {
return core.setFailed('ENV required and not supplied: ACCESS_TOKEN');
}
// const { ACCESS_TOKEN } = process.env;
// if (!ACCESS_TOKEN) {
// return core.setFailed('ENV required and not supplied: ACCESS_TOKEN');
// }

const octokit = github.getOctokit(ACCESS_TOKEN);
// const octokit = github.getOctokit(ACCESS_TOKEN);

const { payload } = github.context;
const inviteeId = payload.issue.user.id;
Expand Down

0 comments on commit 77db7b5

Please sign in to comment.