@@ -56,13 +56,48 @@ jobs:
56
56
move_needs_info_issues :
57
57
name : X-Needs-Info issues to Need info column on triage board
58
58
runs-on : ubuntu-latest
59
+ if : >
60
+ contains(github.event.issue.labels.*.name, 'X-Needs-Info')
59
61
steps :
60
- - uses : konradpabjan/move-labeled-or-milestoned-issue@190352295fe309fcb113b49193bc81d9aaa9cb01
62
+ - id : add_to_project
63
+
64
+ with :
65
+ project-url : ${{ env.PROJECT_URL }}
66
+ github-token : ${{ secrets.ELEMENT_BOT_TOKEN }}
67
+
68
+ - id : set_fields
69
+ uses : titoportas/update-project-fields@421a54430b3cdc9eefd8f14f9ce0142ab7678751 # v0.1.0
61
70
with :
62
- action-token : " ${{ secrets.ELEMENT_BOT_TOKEN }}"
63
- project-url : " https://github.com/orgs/element-hq/projects/120"
64
- column-name : " Needs info"
65
- label-name : " X-Needs-Info"
71
+ project-url : ${{ env.PROJECT_URL }}
72
+ github-token : ${{ secrets.ELEMENT_BOT_TOKEN }}
73
+ item-id : ${{ steps.add_to_project.outputs.itemId }} # Use the item-id output of the previous step
74
+ field-keys : Status
75
+ field-values : " Needs info"
76
+ env :
77
+ PROJECT_URL : https://github.com/orgs/element-hq/projects/120
78
+
79
+ move_flakey_test_issues :
80
+ name : Z-Flaky-Test issues to Sized for maintainer column on triage board
81
+ runs-on : ubuntu-latest
82
+ if : >
83
+ contains(github.event.issue.labels.*.name, 'Z-Flaky-Test')
84
+ steps :
85
+ - id : add_to_project
86
+
87
+ with :
88
+ project-url : ${{ env.PROJECT_URL }}
89
+ github-token : ${{ secrets.ELEMENT_BOT_TOKEN }}
90
+
91
+ - id : set_fields
92
+ uses : titoportas/update-project-fields@421a54430b3cdc9eefd8f14f9ce0142ab7678751 # v0.1.0
93
+ with :
94
+ project-url : ${{ env.PROJECT_URL }}
95
+ github-token : ${{ secrets.ELEMENT_BOT_TOKEN }}
96
+ item-id : ${{ steps.add_to_project.outputs.itemId }} # Use the item-id output of the previous step
97
+ field-keys : Status
98
+ field-values : " Sized for maintainer"
99
+ env :
100
+ PROJECT_URL : https://github.com/orgs/element-hq/projects/120
66
101
67
102
add_priority_design_issues_to_project :
68
103
name : P1 X-Needs-Design to Design project board
0 commit comments