Skip to content

Commit

Permalink
Test action
Browse files Browse the repository at this point in the history
  • Loading branch information
rreynier committed Oct 9, 2024
1 parent a9d7631 commit 431459a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ const repositoryToken = core.getInput('repository_token');
const repositoryOwner = core.getInput('repository_owner');
const repositoryName = core.getInput('repository_name');

console.log('owner', repositoryOwner);
console.log('name', repositoryName);


const octokit = github.getOctokit(repositoryToken);

(async () => {
try {

console.log('owner', repositoryOwner);
console.log('name', repositoryName);

const checklistContent = await fs.readFile(checklistPath, "utf8");
octokit.rest.issues.createComment({
issue_number: 1,// github.context.pull_request.number,
repositoryOwner,
repositoryName,
repositoryName,
checklistContent,
});
console.log(github.context);
Expand Down

0 comments on commit 431459a

Please sign in to comment.