scripts/prepare_changelog: Update jq filter to ignore tech-debt labelled pull-requests
This commit is contained in:
parent
2d0c796837
commit
19e7114301
|
@ -12,7 +12,8 @@ is_doc_pr(){
|
|||
return 1
|
||||
fi
|
||||
PR_NUM=$1
|
||||
out=$(curl -fsS "https://api.github.com/repos/hashicorp/packer/issues/${PR_NUM}" | jq '[.labels[].name == "docs"] | any')
|
||||
out=$(curl -fsS "https://api.github.com/repos/hashicorp/packer/issues/${PR_NUM}" \
|
||||
| jq '[.labels[].name == "docs" or .labels[].name == "tech-debt"] | any')
|
||||
exy="$?"
|
||||
if [ $exy -ne 0 ]; then
|
||||
echo "bad response from github"
|
||||
|
|
Loading…
Reference in New Issue