Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 22 additions & 13 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,36 @@
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
# https://github.com/super-linter/super-linter
name: Lint Code Base

on:
push:
branches: [main]
pull_request:
branches: [main]
on: # yamllint disable-line rule:truthy
push: null
pull_request: null

permissions: {}

jobs:
run-lint:
build:
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
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v5
- name: Super-linter
uses: super-linter/super-linter@v7.1.0 # x-release-please-version
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading