Remove automation for new Delight board

There's no Android developer on the Delight team right now, so it makes
sense to redirect Spaces issues to the Android team.

Covered by the 4617.misc changelog entry.
This commit is contained in:
Ekaterina Gerasimova 2021-12-09 09:15:32 +00:00 committed by Kat Gerasimova
parent ad1fbab956
commit ed6e7a12ad
1 changed files with 24 additions and 24 deletions

View File

@ -47,30 +47,30 @@ jobs:
PROJECT_ID: "PN_kwDOAM0swc0sUA" PROJECT_ID: "PN_kwDOAM0swc0sUA"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
spaces_issues_to_new_board: # delight_issues_to_board:
name: Spaces issues to new Delight project board # name: Spaces issues to new Delight project board
runs-on: ubuntu-latest # runs-on: ubuntu-latest
if: > # if: >
contains(github.event.issue.labels.*.name, 'A-Spaces') || # contains(github.event.issue.labels.*.name, 'A-Spaces') ||
contains(github.event.issue.labels.*.name, 'A-Space-Settings') || # contains(github.event.issue.labels.*.name, 'A-Space-Settings') ||
contains(github.event.issue.labels.*.name, 'A-Subspaces') # contains(github.event.issue.labels.*.name, 'A-Subspaces')
steps: # steps:
- uses: octokit/graphql-action@v2.x # - uses: octokit/graphql-action@v2.x
with: # with:
headers: '{"GraphQL-Features": "projects_next_graphql"}' # headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: | # query: |
mutation add_to_project($projectid:String!,$contentid:String!) { # mutation add_to_project($projectid:String!,$contentid:String!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { # addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem { # projectNextItem {
id # id
} # }
} # }
} # }
projectid: ${{ env.PROJECT_ID }} # projectid: ${{ env.PROJECT_ID }}
contentid: ${{ github.event.issue.node_id }} # contentid: ${{ github.event.issue.node_id }}
env: # env:
PROJECT_ID: "PN_kwDOAM0swc1HvQ" # PROJECT_ID: "PN_kwDOAM0swc1HvQ"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} # GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
move_voice-message_issues: move_voice-message_issues:
name: A-Voice Messages to voice message board name: A-Voice Messages to voice message board