File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -252,3 +252,30 @@ jobs:
252252 env :
253253 PROJECT_ID : " PN_kwDOAM0swc4AArk0"
254254 GITHUB_TOKEN : ${{ secrets.ELEMENT_BOT_TOKEN }}
255+
256+ move_element_x_issues :
257+ name : ElementX issues to ElementX project board
258+ runs-on : ubuntu-latest
259+ # Skip in forks
260+ if : >
261+ github.repository == 'vector-im/element-android' &&
262+ (contains(github.event.issue.labels.*.name, 'Z-ElementX-Alpha') ||
263+ contains(github.event.issue.labels.*.name, 'Z-ElementX-Beta') ||
264+ contains(github.event.issue.labels.*.name, 'Z-ElementX'))
265+ steps :
266+ 267+ with :
268+ headers : ' {"GraphQL-Features": "projects_next_graphql"}'
269+ query : |
270+ mutation add_to_project($projectid:ID!,$contentid:ID!) {
271+ addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
272+ projectNextItem {
273+ id
274+ }
275+ }
276+ }
277+ projectid : ${{ env.PROJECT_ID }}
278+ contentid : ${{ github.event.issue.node_id }}
279+ env :
280+ PROJECT_ID : " PN_kwDOAM0swc4ABTXY"
281+ GITHUB_TOKEN : ${{ secrets.ELEMENT_BOT_TOKEN }}
Original file line number Diff line number Diff line change 1+ Add a GH workflow to push ElementX issues to the global board.
You can’t perform that action at this time.
0 commit comments