From b34586e1be0782dcbcb93a3cac37940908fcc154 Mon Sep 17 00:00:00 2001 From: Yi Huang Date: Fri, 13 Jun 2025 18:53:32 +0800 Subject: [PATCH] ci: remove work-around for resolved issues Signed-off-by: Yi Huang --- .../linters/.commitlintrc.yml => .commitlintrc.yml | 0 .github/workflows/super-linter.yml | 11 ----------- 2 files changed, 11 deletions(-) rename .github/linters/.commitlintrc.yml => .commitlintrc.yml (100%) diff --git a/.github/linters/.commitlintrc.yml b/.commitlintrc.yml similarity index 100% rename from .github/linters/.commitlintrc.yml rename to .commitlintrc.yml diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 0dd01f0..dea36fc 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -21,17 +21,6 @@ jobs: with: fetch-depth: 0 - - name: Work around super-linter - shell: bash - run: | - # Work-around for config file detection - cp .github/linters/.commitlintrc.yml .commitlintrc.yml - # 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/slim@v7.4.0 env: