Skip to content

Commit

Permalink
Update add-to-ecosystem-project.yml (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlind23 authored Mar 28, 2022
1 parent 2cc8d9f commit 34949ba
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/add-to-ecosystem-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,13 @@ jobs:
- uses: octokit/[email protected]
id: label_team
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation label_team($projectid:ID!,$itemid:ID!,$fieldid:ID!,$value:String!) {
updateProjectNextItemField(input: { projectId:$projectid itemId:$itemid fieldId:$fieldid value:$value }) {
projectNextItem {
id
}
mutation add_label($issueid:ID!, $labelids:[String!]!) {
addLabelsToLabelable(input: {labelableId: $issueid, labelIds: $labelids}) {
clientMutationId
}
}
projectid: ${{ env.PROJECT_ID }}
itemid: ${{ fromJSON(steps.add_to_project.outputs.data).addProjectNextItem.projectNextItem.id }}
fieldid: "MDE2OlByb2plY3ROZXh0RmllbGQyNjU3MDg5"
value: "LA_kwDOEBH20c7PrEba"
issueid: ${{ github.event.issue.node_id }}
labelids: "LA_kwDOEBH20c7PrEba"
env:
PROJECT_ID: "PN_kwDOAGc3Zs4ABFUO"
GITHUB_TOKEN: ${{ secrets.ECOSYSTEM_USER_TOKEN }}

0 comments on commit 34949ba

Please sign in to comment.