From 10fd153a70892a08164d7488da7462d4710e24bf Mon Sep 17 00:00:00 2001 From: Ernesto Puerta <37327689+epuertat@users.noreply.github.com> Date: Thu, 23 Feb 2023 18:36:33 +0100 Subject: [PATCH] Log Issue/PR labels 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). --- src/add-to-project.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/add-to-project.ts b/src/add-to-project.ts index cb8d177e..b4c69229 100644 --- a/src/add-to-project.ts +++ b/src/add-to-project.ts @@ -54,6 +54,7 @@ export async function addToProject(): Promise { 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') {