Skip to content

Commit

Permalink
Update super-linter configuration
Browse files Browse the repository at this point in the history
- Bump version of super-linter to v6.3.0
- Configure the default branch correctly
- Set less permissive permissions in CI
  • Loading branch information
BinderDavid committed Mar 20, 2024
1 parent 531d5b7 commit 4f2a8a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- opened
- synchronize

permissions: read-all

env:
CARGO_TERM_COLOR: always

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ on:
- opened
- synchronize

permissions: read-all

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter/slim@v4
uses: super-linter/[email protected]
env:
VALIDATE_ALL_CODEBASE: false
# JSCPD is disabled because it falsely flags duplicated Rust generic parameter definitions
Expand All @@ -33,5 +35,5 @@ jobs:
TYPESCRIPT_DEFAULT_STYLE: prettier
# We use a slightly different stylelint version/setup
VALIDATE_CSS: false
DEFAULT_BRANCH: master
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4f2a8a9

Please sign in to comment.