Commit 4059268a10

4059268a1080c929ae858d530f4d2caeefcefa0a

parent: 893fc57bdc

Unregistered key

Lai Jia Yang <lo3mju@gmail.com> · 2026-04-19 17:04 UTC
committer: <noreply@github.com>

Fix error handling in repo linter (#4104)

Layout: unified · split

.github/workflows/repo_linter.sh +2 −1
@@ -1,4 +1,5 @@
11#!/bin/bash
2set -eo pipefail
23
34# Find the repo in the git diff and then set it to an env variables.
45REPO_TO_LINT=$(
@@ -15,7 +16,7 @@ if [ -z "$REPO_TO_LINT" ]; then
1516 echo "No new link found in the format: https://....#readme"
1617else
1718 echo "Cloning $REPO_TO_LINT"
18 mkdir cloned
19 mkdir -p cloned
1920 cd cloned
2021 git clone "$REPO_TO_LINT" .
2122 npx awesome-lint