Enable Delight issue automation

With the new board, we can filter well enough that we can get issues
ready for a future Android developer!

Changelog entry 4949.misc
This commit is contained in:
Ekaterina Gerasimova 2022-01-18 16:44:49 +00:00 committed by Kat Gerasimova
parent 491044b0c5
commit d7b919a8a1
1 changed files with 27 additions and 26 deletions

View File

@ -100,32 +100,33 @@ jobs:
PROJECT_ID: "PN_kwDOAM0swc4AAg6N" PROJECT_ID: "PN_kwDOAM0swc4AAg6N"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
# delight_issues_to_board: delight_issues_to_board:
# name: Spaces issues to new Delight project board name: Spaces issues to Delight project board
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# # Skip in forks # Skip in forks
# if: > if: >
# github.repository == 'vector-im/element-android' && github.repository == 'vector-im/element-android' &&
# 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: contains(github.event.issue.labels.*.name, 'Z-IA')
# - uses: octokit/graphql-action@v2.x steps:
# with: - uses: octokit/graphql-action@v2.x
# headers: '{"GraphQL-Features": "projects_next_graphql"}' with:
# query: | headers: '{"GraphQL-Features": "projects_next_graphql"}'
# mutation add_to_project($projectid:ID!,$contentid:ID!) { query: |
# addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { mutation add_to_project($projectid:ID!,$contentid:ID!) {
# projectNextItem { addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
# id projectNextItem {
# } id
# } }
# } }
# projectid: ${{ env.PROJECT_ID }} }
# contentid: ${{ github.event.issue.node_id }} projectid: ${{ env.PROJECT_ID }}
# env: contentid: ${{ github.event.issue.node_id }}
# PROJECT_ID: "PN_kwDOAM0swc1HvQ" env:
# GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} PROJECT_ID: "PN_kwDOAM0swc1HvQ"
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