Skip to content

Commit

Permalink
Merge pull request #2 from thalleslmF/pr-2
Browse files Browse the repository at this point in the history
debug
  • Loading branch information
thalleslmF authored Jul 28, 2021
2 parents ad7c44b + e3d7b60 commit a505e91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion licence.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ const checkLicense = async (fileNames, copyrightContent) => {
const octokit = github.getOctokit(token)
const prNumber = github.context.payload.pull_request ? github.context.payload.pull_request.number : 1
console.log(prNumber)
console.log( github.context.payload)
const owner = github.context.payload.repository.owner
const repo = github.context.payload.repository.name
console.log(owner)
console.log(repo)
console.log( github.context.payload)
const responsePr = await octokit.rest.pulls.get({
owner: owner,
repo: repo,
Expand Down

0 comments on commit a505e91

Please sign in to comment.