From 7e9603878cd76daf0bb9895b3529270dc8106df8 Mon Sep 17 00:00:00 2001 From: MrKaplan <169855803+MrKaplan-lw@users.noreply.github.com> Date: Tue, 13 Aug 2024 01:25:36 +0200 Subject: [PATCH] test --- .github/scripts/ignored-files.sh | 2 ++ .github/workflows/test.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/ignored-files.sh b/.github/scripts/ignored-files.sh index 31b53155b8..344818a410 100755 --- a/.github/scripts/ignored-files.sh +++ b/.github/scripts/ignored-files.sh @@ -1,5 +1,7 @@ #!/bin/sh set -euxo pipefail apk add git +# GHA workspace file ownership is "dubious" +git config --global --add safe.directory /github/workspace IGNORED=$(git ls-files --cached -i --exclude-standard) if [[ "$IGNORED" ]]; then echo "Ignored files present:\n$IGNORED\n"; exit 1; fi diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f1bcd2edd4..fafd6b2c7e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,7 +6,7 @@ on: - lw-0.* - lw-test jobs: - lint: + Lint: runs-on: ubuntu-latest steps: - name: Checkout