-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Bump version of super-linter to v6.3.0 - Configure the default branch correctly - Set less permissive permissions in CI
- Loading branch information
1 parent
531d5b7
commit 4f2a8a9
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ on: | |
- opened | ||
- synchronize | ||
|
||
permissions: read-all | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} |