Commit 4e59fba4e2

4e59fba4e20926991c31f86ae4dc29539c4f0750

parent: 8514baa5f8

Unregistered key

Raymond Berger <RayBB@users.noreply.github.com> · 2021-06-01 19:07 UTC
committer: <noreply@github.com>

Fix CI (GitHub actions) test failing (#2028)

Layout: unified · split

.github/workflows/repo_linter.sh +2 −2
@@ -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 origin/main -- readme.md |
66 # Look for changes (indicated by lines starting with +).
77 grep ^+ |
88 # Get the line that includes the readme.
@@ -17,6 +17,6 @@ else
1717 echo "Cloning $REPO_TO_LINT"
1818 mkdir cloned
1919 cd cloned
20 git clone --depth=1 "$REPO_TO_LINT" .
20 git clone "$REPO_TO_LINT" .
2121 npx awesome-lint
2222fi