Skip to content

Commit

Permalink
🚧 Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
theboi committed Oct 3, 2020
1 parent 5c366b0 commit 166a177
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN });
console.error("Failed: ", e)
core.setFailed("Failed: ", e.message)
})
console.log(getActivity)
console.log(getActivity.data)
for (const value of getActivity.data) {
console.log(value)
let activityRepo = value.repo.name
if (value.type === "ForkEvent") activityRepo = value.payload.forkee.full_name
if (!JSON.parse(core.getInput('excludeActivity')).includes(value.type) && !JSON.parse(core.getInput('excludeRepo')).includes(activityRepo)) {
Expand Down

0 comments on commit 166a177

Please sign in to comment.