Commit 4059268a10
Unregistered key
Layout: unified · split
.github/workflows/repo_linter.sh +2 −1
| @@ -1,4 +1,5 @@ | ||
| 1 | 1 | #!/bin/bash |
| 2 | set -eo pipefail | |
| 2 | 3 | |
| 3 | 4 | # Find the repo in the git diff and then set it to an env variables. |
| 4 | 5 | REPO_TO_LINT=$( |
| @@ -15,7 +16,7 @@ if [ -z "$REPO_TO_LINT" ]; then | ||
| 15 | 16 | echo "No new link found in the format: https://....#readme" |
| 16 | 17 | else |
| 17 | 18 | echo "Cloning $REPO_TO_LINT" |
| 18 | mkdir cloned | |
| 19 | mkdir -p cloned | |
| 19 | 20 | cd cloned |
| 20 | 21 | git clone "$REPO_TO_LINT" . |
| 21 | 22 | npx awesome-lint |