Skip to content

Commit

Permalink
Log Issue/PR labels
Browse files Browse the repository at this point in the history
Useful to debug situations where this action reports that an Issue/PR doesn't have a specific label (even if the label is manually set).
  • Loading branch information
epuertat committed Feb 23, 2023
1 parent 11ef9e1 commit 10fd153
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/add-to-project.ts
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}`)

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

0 comments on commit 10fd153

Please sign in to comment.