Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Nov 7, 2023
1 parent d7fe9f5 commit e7e5337
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
Expand Up @@ -39,11 +39,13 @@ async function run() {
// https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#about-the-github_token-secret
const myToken = core.getInput('repo-token');
const endpoint = core.getInput('endpoint');
const headers = parseHeaders(core.getInput('headers'))
// const headers = parseHeaders(core.getInput('headers'))
const repository = github.context.repo
const runID = github.context.runNumber
const octokit = github.getOctokit(myToken)

console.log(`The event payload: ${repository} ${runID} ${endpoint}`);


// You can also pass in additional options as a second parameter to getOctokit
// const octokit = github.getOctokit(myToken, {userAgent: "MyActionVersion1"});
Expand Down

0 comments on commit e7e5337

Please sign in to comment.