File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 # Move PR to "To Review" status
5252 gh project item-edit --id ${{ env.prNodeID }} --field-id $StatusFieldID --project-id $secureCodeBoxV4ProjectID --single-select-option-id $ToReviewID
5353
54-
55- # This command gets the IDs for the status options
56- #gh api graphql -f query='
57- # query {
58- # organization(login: "secureCodeBox") {
59- # projectV2(number: 6) {
60- # fields(first: 20) {
61- # nodes {
62- # ... on ProjectV2SingleSelectField {
63- # id
64- # name
65- # options {
66- # id
67- # name
68- # }
69- # }
70- # }
71- # }
72- # }
73- # }
74- # }'
75-
76- #
77- # "data": {
78- # "organization": {
79- # "projectV2": {
80- # "fields": {
81- # "nodes": [
82- # {},
83- # {},
84- # {
85- # "id": "PVTSSF_lADOAg-Nic05Gc4AAZuO",
86- # "name": "Status",
87- # "options": [
88- # "organization": {
89- # {
90- # "id": "fdb7acaa",
91- # "name": "Backlog"
92- # },
93- # {
94- # "id": "f75ad846",
95- # "name": "Todo"
96- # },
97- # {
98- # "id": "47fc9ee4",
99- # "name": "In Progress"
100- # },
101- # {
102- # "id": "00b0c876",
103- # "name": "To Review"
104- # },
105- # {
106- # "id": "ea7b630a",
107- # "name": "Reviewer Approved"
108- # },
109- # {
110- # "id": "98236657",
111- # "name": "Done"
112- # }
113- # ]
114- # },
115- # {},
116- # {},
117- # {},
118- # {},
119- # {}
120- # ]
121- # }
122- # }
123- # }
124- # }
125- #}
12654 env :
12755 GH_TOKEN : ${{ secrets.SCB_BOT_USER_TOKEN }}
You can’t perform that action at this time.
0 commit comments