forked from adoptium/adoptium.net
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (27 loc) · 864 Bytes
/
linter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Linter
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
linter:
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
statuses: write # for github/super-linter/slim to mark status of each linter run
steps:
- name: Checkout Code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
persist-credentials: false
- name: Lint Code Base
uses: github/super-linter/slim@45fc0d88288beee4701c62761281edfee85655d7 # v5.0.0
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Markdown lint complains about the issue templates
FILTER_REGEX_EXCLUDE: .github/ISSUE_TEMPLATE/*
VALIDATE_YAML: false