From 0bc75ac78eba28c22d0facd3743fbe2dc573ee90 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Mon, 20 Jan 2025 17:34:53 +0100 Subject: [PATCH] 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. --- .github/workflows/news.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/news.yml b/.github/workflows/news.yml index ca07876197..e2d9a058c3 100644 --- a/.github/workflows/news.yml +++ b/.github/workflows/news.yml @@ -20,7 +20,7 @@ jobs: type="$(echo "$message" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')" breaking="$(echo "$message" | sed -E 's|[[:alpha:]]+(\(.*\))?!:.*|breaking-change|')" 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 " Pull request includes a new feature, performance improvement