Actions: use new voice message board for issues (#19670)
Voice-Messages are moving to org-level beta board so add automation to send issues there (will remove old board automation after the move). Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
This commit is contained in:
parent
88bd3e41d0
commit
28f00498a2
1 changed files with 17 additions and 0 deletions
17
.github/workflows/triage-move-labelled.yml
vendored
17
.github/workflows/triage-move-labelled.yml
vendored
|
@ -92,3 +92,20 @@ jobs:
|
||||||
project-url: "https://github.com/vector-im/element-web/projects/28"
|
project-url: "https://github.com/vector-im/element-web/projects/28"
|
||||||
column-name: "📥 Inbox"
|
column-name: "📥 Inbox"
|
||||||
label-name: "A-Voice Messages"
|
label-name: "A-Voice Messages"
|
||||||
|
- uses: octokit/graphql-action@v2.x
|
||||||
|
id: add_to_voice
|
||||||
|
with:
|
||||||
|
headers: '{"GraphQL-Features": "projects_next_graphql"}'
|
||||||
|
query: |
|
||||||
|
mutation add_to_project($projectid:String!,$contentid:String!) {
|
||||||
|
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
|
||||||
|
projectNextItem {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
projectid: ${{ env.PROJECT_ID }}
|
||||||
|
contentid: ${{ github.event.issue.node_id }}
|
||||||
|
env:
|
||||||
|
PROJECT_ID: "PN_kwDOAM0swc2KCw"
|
||||||
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue