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 @@ -251,3 +251,30 @@ jobs:
251251 env :
252252 PROJECT_ID : " PN_kwDOAM0swc4AArk0"
253253 GITHUB_TOKEN : ${{ secrets.ELEMENT_BOT_TOKEN }}
254+
255+ move_element_x_issues :
256+ name : ElementX issues to ElementX project board
257+ runs-on : ubuntu-latest
258+ # Skip in forks
259+ if : >
260+ github.repository == 'vector-im/element-android' &&
261+ (contains(github.event.issue.labels.*.name, 'Z-ElementX-Alpha') ||
262+ contains(github.event.issue.labels.*.name, 'Z-ElementX-Beta') ||
263+ contains(github.event.issue.labels.*.name, 'Z-ElementX'))
264+ steps :
265+ 266+ with :
267+ headers : ' {"GraphQL-Features": "projects_next_graphql"}'
268+ query : |
269+ mutation add_to_project($projectid:ID!,$contentid:ID!) {
270+ addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
271+ projectNextItem {
272+ id
273+ }
274+ }
275+ }
276+ projectid : ${{ env.PROJECT_ID }}
277+ contentid : ${{ github.event.issue.node_id }}
278+ env :
279+ PROJECT_ID : " PN_kwDOAM0swc4ABTXY"
280+ 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