From e0570b13fb30fab2e00cbb2ab973cb802476cfc3 Mon Sep 17 00:00:00 2001 From: Yi Huang Date: Thu, 11 Jun 2026 22:31:35 +0800 Subject: [PATCH] ci: remove super-linter SHA detection work-around The GITHUB_BEFORE_SHA work-around is no longer needed: the underlying SHA detection bug was resolved upstream (super-linter/super-linter#6316). Same cleanup as WasmEdge/cpp-plugins#8, which has been running super-linter without it since. Co-Authored-By: Claude Fable 5 Signed-off-by: Yi Huang --- .github/workflows/superlinter.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/superlinter.yml b/.github/workflows/superlinter.yml index 3015586..936196a 100644 --- a/.github/workflows/superlinter.yml +++ b/.github/workflows/superlinter.yml @@ -30,14 +30,6 @@ jobs: with: fetch-depth: 0 - - name: Work around super-linter - shell: bash - run: | - # Work-around for SHA detection - # https://github.com/super-linter/super-linter/issues/6316#issuecomment-2510205626 - if [[ '${{ github.event_name }}' == 'pull_request' ]]; then - echo 'GITHUB_BEFORE_SHA=${{ github.event.pull_request.base.sha }}' >> "${GITHUB_ENV}" - fi - name: Run Super Linter uses: super-linter/super-linter@9e863354e3ff62e0727d37183162c4a88873df41 # v8.6.0 env: