Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit e0b900a

Browse files
authored
Update projectbot.yml
1 parent 5b427c4 commit e0b900a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/projectbot.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,14 @@ jobs:
2929
id
3030
fields(first:20) {
3131
nodes {
32-
id
33-
name
34-
settings
32+
... on ProjectV2SingleSelectField {
33+
id
34+
name
35+
options {
36+
id
37+
name
38+
}
39+
}
3540
}
3641
}
3742
}
@@ -40,7 +45,7 @@ jobs:
4045
4146
echo 'PROJECT_ID='$(jq '.data.organization.projectV2.id' project_data.json) >> $GITHUB_ENV
4247
echo 'STATUS_FIELD_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .id' project_data.json) >> $GITHUB_ENV
43-
echo 'TRIAGE_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") |.settings | fromjson.options[] | select(.name=="Needs Triage 🔍") |.id' project_data.json) >> $GITHUB_ENV
48+
echo 'TRIAGE_OPTION_ID='$(jq '.data.organization.projectV2.fields.nodes[] | select(.name== "Status") | .options[] | select(.name=="Needs Triage 🔍") |.id' project_data.json) >> $GITHUB_ENV
4449
4550
- name: Add Issue to project
4651
env:

0 commit comments

Comments
 (0)