-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcall-mega-linter.yml
40 lines (29 loc) · 1.18 KB
/
call-mega-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
34
35
36
37
38
39
40
# ==================================================================
# call-mega-linter.yml
# ==================================================================
# THIS IS THE EXAMPLE YOU WORK FROM TO MAKE YOUR OWN WORKFLOW FILE
# ==================================================================
name: Lint Project
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
call-mega-linter:
name: Call MegaLinter
permissions:
contents: read
statuses: write
packages: write
### use Reusable Workflows to call my workflow remotely
### https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
### you can also call workflows from inside the same repo via file path
# FIXME: customize uri to point to your own reusable linter repository
uses: ragsworks/workflow-megalinter/.github/workflows/reusable-mega-linter.yml@master
### Optional settings examples
### A regex to exclude files from linting
### defaults to empty
# filter-regex-exclude: html/.*