diff --git a/.github/workflows/project-automation-pr.yaml b/.github/workflows/project-automation-pr.yaml index 5486401..8ec5f25 100644 --- a/.github/workflows/project-automation-pr.yaml +++ b/.github/workflows/project-automation-pr.yaml @@ -61,10 +61,10 @@ jobs: echo 'ITEM_ID='$item_id >> $GITHUB_ENV - - name: Print Event Details - env: - EVENT_DETAILS: ${{ toJson(github.event) }} - run: echo "$EVENT_DETAILS" + - name: Print Labels + run: | + PR_LABELS=(${{github.event.pull_request.labels}} || jq -r '.name')` + echo "$PR_LABELS" - name: Set "Type" field env: