mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update automation for new triage board
This commit is contained in:
committed by
Stefan Ceriu
parent
8bcbe84c61
commit
8c3aa1eb33
@@ -5,11 +5,24 @@ on:
|
|||||||
types: [opened]
|
types: [opened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
automate-project-columns:
|
add_to_triage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: >
|
||||||
|
github.repository == 'vector-im/element-x-ios'
|
||||||
steps:
|
steps:
|
||||||
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
|
- uses: octokit/graphql-action@v2.x
|
||||||
with:
|
with:
|
||||||
project: Issue triage
|
headers: '{"GraphQL-Features": "projects_next_graphql"}'
|
||||||
column: Incoming
|
query: |
|
||||||
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
mutation add_to_project($projectid:ID!,$contentid:ID!) {
|
||||||
|
addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
|
||||||
|
item {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
projectid: ${{ env.PROJECT_ID }}
|
||||||
|
contentid: ${{ github.event.issue.node_id }}
|
||||||
|
env:
|
||||||
|
PROJECT_ID: "PVT_kwDOAM0swc4AMlHr"
|
||||||
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user