diff --git a/.github/workflows/project-automation-pr.yaml b/.github/workflows/project-automation-pr.yaml index f19c3f4..39845e2 100644 --- a/.github/workflows/project-automation-pr.yaml +++ b/.github/workflows/project-automation-pr.yaml @@ -63,7 +63,7 @@ jobs: - name: Print Labels run: | - echo '${{github.event.pull_request}}' >> pr_data.json + echo '${{github.event.pull_request}}' > pr_data.json PR_LABELS=($(jq -r '.pull_request.labels[] | .name ' pr_data.json)) echo "$PR_LABELS"