Skip to content

Commit a64a179

Browse files
authored
Update sync-labels-with-project-status.yml
1 parent ab58dcc commit a64a179

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/sync-labels-with-project-status.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
echo "Project Item ID: $ITEM_ID"
4242
echo "ITEM_ID=$ITEM_ID" >> $GITHUB_ENV
4343
44-
- name: Debug – Get PR Project Status – raw data
44+
- name: Debug – Get PR Project Status – Only __typename
4545
id: debug_status
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
run: |
4949
PROJECT_ITEM_ID=${{ env.ITEM_ID }}
5050
51-
echo "Fetching raw project status data..."
51+
echo "Fetching project status type information..."
5252

5353
RAW_RESPONSE=$(gh api graphql -f query='
5454
query {
@@ -57,16 +57,13 @@ jobs:
5757
fieldValues(first: 10) {
5858
nodes {
5959
__typename
60-
field {
61-
__typename
62-
}
6360
}
6461
}
6562
}
6663
}
6764
}')
6865

69-
echo "Raw Response: $RAW_RESPONSE"
66+
echo "Raw Type Response: $RAW_RESPONSE"
7067

7168
- name: Apply or Remove "Do Not Merge" Label
7269
env:

0 commit comments

Comments
 (0)