From 6b3f3e59ecff25b100156a2767a7bed764942c2b Mon Sep 17 00:00:00 2001 From: Joakim Roubert Date: Tue, 27 Feb 2024 16:23:47 +0100 Subject: [PATCH] super-linter.yml: Remove redundant environment variable No need to set DEFAULT_BRANCH here now that it is in the environment file. Change-Id: I9f83682472bbf8cd0ebc04091a16bf16201ff6bc Signed-off-by: Joakim Roubert --- .github/super-linter.env | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/super-linter.yml | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/super-linter.env b/.github/super-linter.env index 3f242c6..6d66d09 100644 --- a/.github/super-linter.env +++ b/.github/super-linter.env @@ -1,4 +1,4 @@ -DEFAULT_BRANCH=main +DEFAULT_BRANCH=origin/main LINTER_RULES_PATH=/ VALIDATE_ALL_CODEBASE=true IGNORE_GITIGNORED_FILES=true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aab21ad..e3a6a68 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: push jobs: build_acap: - name: Build ACAP applications + name: Build ACAP packages runs-on: ubuntu-latest env: DEBIAN_FRONTEND: noninteractive diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index 2060517..752a96c 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -4,8 +4,8 @@ name: Lint on: push jobs: - build: - name: Lint Code Base + Build: + name: Lint code base runs-on: ubuntu-latest steps: - name: Checkout Code @@ -16,8 +16,7 @@ jobs: - name: Setup Environment run: cat .github/super-linter.env >> "$GITHUB_ENV" - - name: Lint Code Base + - name: Lint code base uses: super-linter/super-linter/slim@v6 env: - DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}