generated from EGI-Federation/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (32 loc) · 1.1 KB
/
lint.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
34
35
36
---
name: Lint
on:
pull_request:
jobs:
super-lint:
name: Lint with Super-Linter
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on PR
ref: ${{ github.event.pull_request.head.sha }}
# Full git history needed to get proper list of changed files
fetch-depth: 0
# Runs the Super-Linter action
- name: Run Super-Linter
uses: docker://ghcr.io/github/super-linter:slim-v4
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# XXX gitleaks is currently not using exception file: #511
VALIDATE_GITLEAKS: false
# Only check changed files
VALIDATE_ALL_CODEBASE: false
# Debug super-linter
ACTIONS_RUNNER_DEBUG: false
# Fail on errors
DISABLE_ERRORS: false
FILTER_REGEX_EXCLUDE: "(layouts/)|(.*/egi.js)|(assets/scss/)|(static/css/)"