mirror of https://github.com/vector-im/riot-web
Update automation for new app team board (#24219)
Old board has been archived, updating automation to move issues to the new board.pull/24224/head
parent
c53ba7c07f
commit
4aa3b0b637
|
@ -9,11 +9,22 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: |
|
if: |
|
||||||
contains(github.event.issue.assignees.*.login, 't3chguy') ||
|
contains(github.event.issue.assignees.*.login, 't3chguy') ||
|
||||||
contains(github.event.issue.assignees.*.login, 'andybalaam') ||
|
contains(github.event.issue.assignees.*.login, 'andybalaam')
|
||||||
contains(github.event.issue.assignees.*.login, 'turt2live')
|
|
||||||
steps:
|
steps:
|
||||||
- uses: alex-page/github-project-automation-plus@1f8873e97e3c8f58161a323b7c568c1f623a1c4d
|
- uses: octokit/graphql-action@v2.x
|
||||||
|
id: add_to_project
|
||||||
with:
|
with:
|
||||||
project: Web App Team
|
headers: '{"GraphQL-Features": "projects_next_graphql"}'
|
||||||
column: "In Progress"
|
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_kwDOAM0swc4AKjJS"
|
||||||
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue