Skip to content

SuperLinter

SuperLinter #13

Workflow file for this run

name: Lint
on:
# Replace pull_request with pull_request_target if you
# plan to use this action with forks, see the Limitations section
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions: {}
jobs:
run-linters:
name: Run linters
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
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/[email protected] # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISABLE_ERRORS: true
SAVE_SUPER_LINTER_OUTPUT: true
- run: ls -l
- name: Annotate
uses: yuzutech/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: 'lint'
input: './superlinter.json'