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 3057e73 commit 69072a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/match_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,16 @@ jobs:
}
}
}
}' -f issue_url=env.LINKED_ISSUE_URL > data.json
}' -f issue_url=${{ LINKED_ISSUE_URL }}
echo 'BUG='$(jq '.data.resource.labels.nodes[] | select(.name== "bug") | .id' data.json) >> $GITHUB_ENV
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 '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
- run: env

- name: "Add bug label"
id: check-labels
if: |
Expand Down

0 comments on commit 69072a7

Please sign in to comment.