Commit 9c7a5d03dc
Unregistered key
Layout: unified · split
.github/workflows/repo_linter.sh +1 −1
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | # Find the repo in the git diff and then set it to an env variables. | 3 | # Find the repo in the git diff and then set it to an env variables. |
| 4 | REPO_TO_LINT=$( | 4 | REPO_TO_LINT=$( |
| 5 | git diff main readme.md | | 5 | git diff main -- readme.md | |
| 6 | # Look for changes (indicated by lines starting with +). | 6 | # Look for changes (indicated by lines starting with +). |
| 7 | grep ^+ | | 7 | grep ^+ | |
| 8 | # Get the line that includes the readme. | 8 | # Get the line that includes the readme. |