mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-06 12:07:04 +00:00
Update release_notes.yml (#5949)
Ignoring release notes check for PRs of type doc/ci/test
This commit is contained in:
parent
69232612d0
commit
b8c3b68141
5
.github/workflows/release_notes.yml
vendored
5
.github/workflows/release_notes.yml
vendored
@ -35,5 +35,10 @@ jobs:
|
||||
- name: Check release notes
|
||||
if: steps.changed-files.outputs.any_changed == 'false' && !contains( github.event.pull_request.labels.*.name, 'ignore-for-release-notes')
|
||||
run: |
|
||||
# Check if any of the commit messages contain tags ci/docs/test
|
||||
if git log --pretty=%s origin/main..HEAD | grep -E '^(ci:|docs:|test:)' > /dev/null; then
|
||||
echo "Skipping release note check for commits with 'ci:', 'docs:', or 'test:' tags."
|
||||
else
|
||||
echo "::error::The release notes file is missing, please add one or attach the label 'ignore-for-release-notes' to this PR."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user