@@ -10,34 +10,34 @@ jobs:
10
10
check_project_status :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - name : Debug – Fetch PR Project Items
14
- env :
15
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16
- DEV_PROJECT_ID : ${{ secrets.DEV_PROJECT_ID }}
17
- run : |
18
- PR_NUMBER=${{ github.event.pull_request.number }}
19
- OWNER=${{ github.repository_owner }}
20
- REPO=${{ github.event.repository.name }}
21
-
22
- echo "Fetching raw project item data for PR # $PR_NUMBER..."
23
-
24
- RAW_RESPONSE=$(gh api graphql -f query='
25
- query {
26
- repository(owner : " '" $OWNER"'", name: "'"$REPO"'") {
27
- pullRequest(number : ' $PR_NUMBER' ) {
28
- projectItems(first : 5) {
29
- nodes {
30
- id
31
- project {
13
+ - name : Debug – Fetch PR Project Items
14
+ env :
15
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
16
+ DEV_PROJECT_ID : ${{ secrets.DEV_PROJECT_ID }}
17
+ run : |
18
+ PR_NUMBER=${{ github.event.pull_request.number }}
19
+ OWNER=${{ github.repository_owner }}
20
+ REPO=${{ github.event.repository.name }}
21
+
22
+ echo "Fetching raw project item data for PR # $PR_NUMBER..."
23
+
24
+ RAW_RESPONSE=$(gh api graphql -f query='
25
+ query {
26
+ repository(owner : " '" $OWNER"'", name: "'"$REPO"'") {
27
+ pullRequest(number : ' $PR_NUMBER' ) {
28
+ projectItems(first : 5) {
29
+ nodes {
32
30
id
31
+ project {
32
+ id
33
+ }
33
34
}
34
35
}
35
36
}
36
37
}
37
- }
38
- }')
39
-
40
- echo "Raw GraphQL Response : $RAW_RESPONSE"
38
+ }')
39
+
40
+ echo "Raw GraphQL Response : $RAW_RESPONSE"
41
41
42
42
- name : Get PR Project Item ID
43
43
id : get_project_item
0 commit comments