Fix indentation in automation

Fix indention and capitalisation
This commit is contained in:
Kat Gerasimova 2022-09-01 15:30:49 +01:00 committed by GitHub
parent 143632adb0
commit de8b99de3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,28 +116,28 @@ jobs:
PROJECT_ID: "PN_kwDOAM0swc1HvQ" PROJECT_ID: "PN_kwDOAM0swc1HvQ"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
Search_issues_to_board: search_issues_to_board:
name: Search issues to project board name: Search issues to project board
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: > if: >
contains(github.event.issue.labels.*.name, 'A-New-Search-Experience') contains(github.event.issue.labels.*.name, 'A-New-Search-Experience')
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:ID!,$contentid:ID!) { mutation add_to_project($projectid:ID!,$contentid:ID!) {
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_kwDOAM0swc4ADtaO"
PROJECT_ID: "PN_kwDOAM0swc4ADtaO" 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