Commit 9c7a5d03dc

9c7a5d03dc55b50eba9b74ffdaa29bc5d450d550

parent: 7597b9013e

Unregistered key

Raymond Berger <RayBB@users.noreply.github.com> · 2021-05-02 18:20 UTC
committer: <noreply@github.com>

Fix git diff command in repo linter (#2003)

Layout: unified · split

.github/workflows/repo_linter.sh +1 −1
@@ -2,7 +2,7 @@
22
33# Find the repo in the git diff and then set it to an env variables.
44REPO_TO_LINT=$(
5 git diff main readme.md |
5 git diff main -- readme.md |
66 # Look for changes (indicated by lines starting with +).
77 grep ^+ |
88 # Get the line that includes the readme.