mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
ci(news): treat deprecated.txt as part of news.txt
This is because we reference to deprecated.txt from news.txt, so deprecation news updates are made only in deprecated.txt.
This commit is contained in:
2
.github/workflows/news.yml
vendored
2
.github/workflows/news.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
type="$(echo "$message" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')"
|
type="$(echo "$message" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')"
|
||||||
breaking="$(echo "$message" | sed -E 's|[[:alpha:]]+(\(.*\))?!:.*|breaking-change|')"
|
breaking="$(echo "$message" | sed -E 's|[[:alpha:]]+(\(.*\))?!:.*|breaking-change|')"
|
||||||
if [[ "$type" == "feat" ]] || [[ "$type" == "perf" ]] || [[ "$breaking" == "breaking-change" ]]; then
|
if [[ "$type" == "feat" ]] || [[ "$type" == "perf" ]] || [[ "$breaking" == "breaking-change" ]]; then
|
||||||
! git diff HEAD~${{ github.event.pull_request.commits }}..HEAD --quiet runtime/doc/news.txt ||
|
! git diff HEAD~${{ github.event.pull_request.commits }}..HEAD --quiet runtime/doc/news.txt runtime/doc/deprecated.txt ||
|
||||||
{
|
{
|
||||||
echo "
|
echo "
|
||||||
Pull request includes a new feature, performance improvement
|
Pull request includes a new feature, performance improvement
|
||||||
|
Reference in New Issue
Block a user