mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Actions: move Voice message issues to their board
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
This commit is contained in:
parent
157421afb8
commit
270d55dfb4
1 changed files with 23 additions and 0 deletions
23
.github/workflows/triage-move-labelled.yml
vendored
23
.github/workflows/triage-move-labelled.yml
vendored
|
@ -78,3 +78,26 @@ jobs:
|
|||
PROJECT_ID: "PN_kwDOAM0swc1HvQ"
|
||||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||
|
||||
move_voice-message_issues:
|
||||
name: Move A-Voice Messages to Voice message board
|
||||
runs-on: ubuntu-latest
|
||||
if: >
|
||||
${{
|
||||
contains(github.event.issue.labels.*.name, 'A-Voice Messages') }}
|
||||
steps:
|
||||
- uses: octokit/graphql-action@v2.x
|
||||
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…
Reference in a new issue