mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Add a GH workflow to push ElementX issues to the global board
https://github.com/orgs/vector-im/projects/43
This commit is contained in:
parent
2839d1467f
commit
d2f6f0fa92
2 changed files with 28 additions and 0 deletions
27
.github/workflows/triage-labelled.yml
vendored
27
.github/workflows/triage-labelled.yml
vendored
|
@ -252,3 +252,30 @@ jobs:
|
||||||
env:
|
env:
|
||||||
PROJECT_ID: "PN_kwDOAM0swc4AArk0"
|
PROJECT_ID: "PN_kwDOAM0swc4AArk0"
|
||||||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
|
move_element_x_issues:
|
||||||
|
name: ElementX issues to ElementX project board
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# Skip in forks
|
||||||
|
if: >
|
||||||
|
github.repository == 'vector-im/element-android' &&
|
||||||
|
(contains(github.event.issue.labels.*.name, 'Z-ElementX-Alpha') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'Z-ElementX-Beta') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'Z-ElementX'))
|
||||||
|
steps:
|
||||||
|
- uses: octokit/graphql-action@v2.x
|
||||||
|
with:
|
||||||
|
headers: '{"GraphQL-Features": "projects_next_graphql"}'
|
||||||
|
query: |
|
||||||
|
mutation add_to_project($projectid:ID!,$contentid:ID!) {
|
||||||
|
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
|
||||||
|
projectNextItem {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
projectid: ${{ env.PROJECT_ID }}
|
||||||
|
contentid: ${{ github.event.issue.node_id }}
|
||||||
|
env:
|
||||||
|
PROJECT_ID: "PN_kwDOAM0swc4ABTXY"
|
||||||
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
1
changelog.d/5832.misc
Normal file
1
changelog.d/5832.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add a GH workflow to push ElementX issues to the global board.
|
Loading…
Reference in a new issue