Skip to content

Commit

Permalink
Actions: use new voice message board for issues (#19670)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kittykat authored Nov 9, 2021
1 parent 88bd3e4 commit 28f0049
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/triage-move-labelled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,20 @@ jobs:
project-url: "https://github.com/vector-im/element-web/projects/28"
column-name: "📥 Inbox"
label-name: "A-Voice Messages"
- uses: octokit/[email protected]
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 }}

0 comments on commit 28f0049

Please sign in to comment.