Skip to content

Commit

Permalink
Attempt to fix add_to_inbox workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Aug 22, 2023
1 parent abf041b commit 27f3ff9
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/add_to_inbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,9 @@ jobs:
installation-id: ${{ vars.PRIMER_APP_INSTALLATION_ID_SHARED }}
- name: Add react label to issue
run: |
gh api graphql --header 'GraphQL-Features: projects_next_graphql' -f query='
mutation($reactLabelId: ID!, $issue: ID!) {
addLabelsToLabelable(input: { labelIds: [$reactLabelId], labelableId: $issue }) {
clientMutationId
}
}' -f reactLabelId=$REACT_LABEL_ID -f issue=$ISSUE_ID --jq '.data.addProjectNextItem.projectNextItem.id'
gh issue edit $ISSUE_ID --add-label react
env:
GITHUB_TOKEN: ${{ steps.get-access-token.outputs.access-token }}
GH_TOKEN: ${{ steps.get-access-token.outputs.access-token }}
- name: Add issue to project
run: |
gh api graphql --header 'GraphQL-Features: projects_next_graphql' -f query='
Expand All @@ -40,6 +35,6 @@ jobs:
id
}
}
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID --jq '.data.addProjectNextItem.projectNextItem.id'
}' -f project=$PROJECT_ID -f issue=$ISSUE_ID
env:
GITHUB_TOKEN: ${{ steps.get-access-token.outputs.access-token }}
GH_TOKEN: ${{ steps.get-access-token.outputs.access-token }}

0 comments on commit 27f3ff9

Please sign in to comment.