Skip to content

Commit

Permalink
super-linter.yml: Remove redundant environment variable (#40)
Browse files Browse the repository at this point in the history
No need to set DEFAULT_BRANCH here now that it is in the
environment file.

Signed-off-by: Joakim Roubert <joakimr@axis.com>
  • Loading branch information
joakimr-axis committed Feb 27, 2024
1 parent ae400d2 commit fa6e238
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/super-linter.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEFAULT_BRANCH=main
DEFAULT_BRANCH=origin/main
LINTER_RULES_PATH=/
VALIDATE_ALL_CODEBASE=true
IGNORE_GITIGNORED_FILES=true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: push

jobs:
build_acap:
name: Build ACAPs
name: Build ACAP packages
runs-on: ubuntu-latest
env:
DEBIAN_FRONTEND: noninteractive
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit fa6e238

Please sign in to comment.