mirror of
https://github.com/openssl/openssl.git
synced 2026-01-18 17:11:31 +01:00
Update .github/workflows/check-news-changes.yml
Co-authored-by: Pocs Norbert <norbertpocs0@gmail.com> Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Norbert Pocs <norbertp@openssl.org> MergeDate: Tue Jan 13 19:17:42 2026 (Merged from https://github.com/openssl/openssl/pull/29536)
This commit is contained in:
13
.github/workflows/check-news-changes.yml
vendored
13
.github/workflows/check-news-changes.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user