Skip to content

Commit

Permalink
Update match_labels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gordsport committed Feb 6, 2024
1 parent 119fa6d commit 6d50935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/match_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
echo 'BREAKING='$(jq '.data.resource.labels.nodes[] | select(.name== "breaking-change") | .id' data.json) >> $GITHUB_ENV
echo 'DEPRECATE='$(jq '.data.resource.labels.nodes[] | select(.name== "deprecation") | .id' data.json) >> $GITHUB_ENV
echo 'VULNERABILITY='$(jq '.data.resource.labels.nodes[] | select(.name== "vulnerability") | .id' data.json) >> $GITHUB_ENV
echo 'SECURITY='$(jq '.data.resource.labels.nodes[] | select(.name== "security") | .id' data.json) >> $GITHUB_ENV
echo 'ENHANCE='$(jq '.data.resource.labels.nodes[] | select(.name== "enhancement") | .id' data.json) >> $GITHUB_ENV
echo 'FEATURE='$(jq '.data.resource.labels.nodes[] | select(.name== "feature") | .id' data.json) >> $GITHUB_ENV
Expand All @@ -82,7 +83,7 @@ jobs:
env.BUG != ''
run: |
gh api graphql -f query='
mutation($user:String!, $pr:ID!) {
mutation($user:String!, $pr:ID!, $label:[ID!]!) {
addLabelsToLabelable(input: {clientMutationId: $user, labelableId: $pr, labelIds: $label}) {
clientMutationId
}
Expand Down

0 comments on commit 6d50935

Please sign in to comment.