Commit e8a4efeb13

e8a4efeb130ccfe1db8bff91d042dc13f09497b9

parent: ad02f86dc4

Unregistered key

Subba Reddy Palagiri <167409324+subbareddypalagiri@users.noreply.github.com> · 2026-06-24 10:58 UTC
committer: <noreply@github.com>

Fix: Prevent repo linter from crashing on deletion-only PRs (#4283)

Layout: unified · split

.github/workflows/repo_linter.sh +2 −2
@@ -5,9 +5,9 @@ set -eo pipefail
55REPO_TO_LINT=$(
66 git diff origin/main -- readme.md |
77 # Look for changes (indicated by lines starting with +).
8 grep ^+ |
8 (grep ^+ || true) |
99 # Get the line that includes the readme.
10 grep -Eo 'https.*#readme' |
10 (grep -Eo 'https.*#readme' || true) |
1111 # Get just the URL.
1212 sed 's/#readme//')
1313