diff --git a/.github/workflows/project-automation-pr.yaml b/.github/workflows/project-automation-pr.yaml index be41ae1..296dcb9 100644 --- a/.github/workflows/project-automation-pr.yaml +++ b/.github/workflows/project-automation-pr.yaml @@ -64,9 +64,9 @@ jobs: - name: Set "Type" field env: GITHUB_TOKEN: ${{secrets.PROJECT_AUTOMATION}} - LABELS: ${{ github.event.pull_request.labels }} + PR_EVENT_DATA: ${{ github.event.pull_request }} run: | - echo "Labels: $LABELS" + env gh api graphql -f query=' mutation ($project: ID!, $item: ID!, $field: ID!, $opt_id: ID!) { updateProjectNextItemField(input: {