From faf48d097b31abeec694b7a31ed49987880595f1 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Mon, 5 Jan 2026 10:47:22 -0500 Subject: [PATCH] Update .github/workflows/check-news-changes.yml Co-authored-by: Pocs Norbert Reviewed-by: Paul Dale Reviewed-by: Norbert Pocs MergeDate: Tue Jan 13 19:17:42 2026 (Merged from https://github.com/openssl/openssl/pull/29536) --- .github/workflows/check-news-changes.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-news-changes.yml b/.github/workflows/check-news-changes.yml index a4bb905fa1..7901b021f3 100644 --- a/.github/workflows/check-news-changes.yml +++ b/.github/workflows/check-news-changes.yml @@ -1,3 +1,10 @@ +# Copyright 2026 The OpenSSL Project Authors. All Rights Reserved. +# +# Licensed under the Apache License 2.0 (the "License"). You may not use +# this file except in compliance with the License. You can obtain a copy +# in the file LICENSE in the source distribution or at +# https://www.openssl.org/source/license.html + name: "Scan to check for NEWS/CHANGES suggestions" on: pull_request @@ -9,10 +16,10 @@ jobs: scan_for_news_changes: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: persist-credentials: false - fetch-depth: 2 + fetch-depth: 0 - name: "Check if we already have a NEWS/CHANGES entry" run: | git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > ./names.txt @@ -42,7 +49,7 @@ jobs: if: ${{ env.FOUND_NEWS_CHANGES_ADDITION == 'no' }} run: | set +e - grep -q "include\/crypto" ./names.txt + grep -q "include\/openssl" ./names.txt if [ $? -eq 0 ]; then echo "Changes in this PR may impact public APIS's" echo "NEED_NEWS_CHANGES=yes" >> $GITHUB_ENV