Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mukunku committed Aug 11, 2023
1 parent fac1da6 commit 25f0ddc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const core = require('@actions/core');
const github = require('@actions/github');
const { Octokit } = require("@octokit/rest");

async function run() {
try {
Expand All @@ -9,7 +10,8 @@ async function run() {

// Get owner and repo from context of payload that triggered the action
const { owner, repo } = github.context.repo

console.log(owner);
console.log(repo);
//const github = new GitHub(process.env.GITHUB_TOKEN || core.getInput('github_token'));
const octokit = github.getOctokit(process.env.GITHUB_TOKEN || core.getInput('github_token'));
var exists = 'false';
Expand Down

0 comments on commit 25f0ddc

Please # to comment.