Skip to content

Commit

Permalink
debug log for issue labels
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcosta7 committed Feb 27, 2023
1 parent 5f0c606 commit 9f96b16
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"@actions/github": "^5.0.3"
},
"engines": {
"node": ">=16.0.0 <17.0.0",
"npm": ">= 7.0.0"
"node": ">=16.0.0 <20.0.0",
"npm": ">= 8.0.0"
},
"devDependencies": {
"@github/prettier-config": "^0.0.6",
Expand Down
1 change: 1 addition & 0 deletions src/add-to-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export async function addToProject(): Promise<void> {
const issueOwnerName = github.context.payload.repository?.owner.login

core.debug(`Issue/PR owner: ${issueOwnerName}`)
core.debug(`Issue/PR labels: ${issueLabels.join(', ')}`)

// Ensure the issue matches our `labeled` filter based on the label-operator.
if (labelOperator === 'and') {
Expand Down

0 comments on commit 9f96b16

Please sign in to comment.