From 63c3c9cc17c99b7ea22d2ff35c9810aeca7a5634 Mon Sep 17 00:00:00 2001 From: azrdev Date: Wed, 19 Jun 2024 21:00:24 +0200 Subject: [PATCH] CI: skip dirty patch check to avoid GH action bug https://github.com/openwrt/gh-action-sdk/blob/9c3ea37/entrypoint.sh#L124 invokes `git -C $dir diff` with a non-existent $dir, which makes it prints its --help message and exit with 128 --- .github/workflows/openwrt-ipkg.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/openwrt-ipkg.yml b/.github/workflows/openwrt-ipkg.yml index 85f0fc2..6e16d65 100644 --- a/.github/workflows/openwrt-ipkg.yml +++ b/.github/workflows/openwrt-ipkg.yml @@ -26,6 +26,7 @@ jobs: FEED_DIR: "$GITHUB_WORKSPACE/openwrt/" PACKAGES: snapcast snapclient snapserver V: sc # verbosity, see https://openwrt.org/docs/techref/buildroot#warnings_errors_and_tracing + NO_REFRESH_CHECK: 1 # avoid bug in git diff invocation, checking out from CI we can't have dirty patches anyway - name: Store packages uses: actions/upload-artifact@v4