Skip to content

Commit

Permalink
Update linter file main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chnam-axonivy authored Mar 4, 2024
1 parent 83810a2 commit 3c7a7b9
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,25 @@ on:

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

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout Code
uses: actions/checkout@v4.1.1
- name: Checkout code
uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Super-Linter
uses: super-linter/super-linter@v5.7.2
- name: Super-linter
uses: super-linter/super-linter@v6.3.0 # x-release-please-version
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: ${{ github.event.pull_request.base.ref }}
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISABLE_ERRORS: true

0 comments on commit 3c7a7b9

Please sign in to comment.