Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/require-changelog-fragment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
changed=$(git diff --name-only "origin/${BASE_REF}...HEAD")

# Packages with changes outside their own changelog artifacts.
# `|| true`: on a PR that touches no package, grep -oE finds no match
# and exits 1, which under `set -euo pipefail` would abort the job
# with a bare exit 1 and no output -- the same guard the has_* greps
# below already use.
touched=$(echo "$changed" \
| grep -oE '^packages/[^/]+/' \
| sort -u \
Expand All @@ -52,7 +56,7 @@ jobs:
| grep -q .; then
echo "$pkg"
fi
done)
done || true)

missing=""
for pkg in $touched; do
Expand Down
Loading