Commit e8a4efeb13
Unregistered key
Layout: unified · split
.github/workflows/repo_linter.sh +2 −2
| @@ -5,9 +5,9 @@ set -eo pipefail | |||
| 5 | REPO_TO_LINT=$( | 5 | REPO_TO_LINT=$( |
| 6 | git diff origin/main -- readme.md | | 6 | git diff origin/main -- readme.md | |
| 7 | # Look for changes (indicated by lines starting with +). | 7 | # Look for changes (indicated by lines starting with +). |
| 8 | grep ^+ | | 8 | (grep ^+ || true) | |
| 9 | # Get the line that includes the readme. | 9 | # Get the line that includes the readme. |
| 10 | grep -Eo 'https.*#readme' | | 10 | (grep -Eo 'https.*#readme' || true) | |
| 11 | # Get just the URL. | 11 | # Get just the URL. |
| 12 | sed 's/#readme//') | 12 | sed 's/#readme//') |
| 13 | 13 | ||