Skip to content

Commit

Permalink
Ignore PRs with label kind/cherry-pick when --all is used (#5163)
Browse files Browse the repository at this point in the history
These PRs start with "Automated cherry pick of" are already included
by default with original PRs. They should be ignored when `--all` is passed.

Signed-off-by: Lan Luo <luola@vmware.com>
  • Loading branch information
luolanzone committed Jun 28, 2023
1 parent 647fb06 commit a84eb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/release/prepare-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ if [ "$all" == "yes" ]; then
# There may be some changes not being labelled properly, release manager needs to move them to appropriate sections manually.
echo "### Unlabelled (Remove this section eventually)"
echo ""
gh pr list -s merged -B ${branch} --search "merged:>${release_start_time} sort:updated-desc -label:action/release-note $author_filter" -L $limit --json number,title,author,labels --template \
gh pr list -s merged -B ${branch} --search "merged:>${release_start_time} sort:updated-desc -label:action/release-note -label:kind/cherry-pick $author_filter" -L $limit --json number,title,author,labels --template \
'{{range .}}{{tablerow (printf "- %s. ([#%v](https://github.com/antrea-io/antrea/pull/%v), [@%s])" .title .number .number .author.login)}}{{end}}'
fi

Expand Down

0 comments on commit a84eb0e

Please sign in to comment.