mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -05:00
Editorial: linked the example linter.yml
file (#1872)
This commit is contained in:
parent
79dee46012
commit
a6d60d8fa8
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -120,17 +120,17 @@ To use this **GitHub** Action you will need to complete the following:
|
||||||
In your repository you should have a `.github/workflows` folder with **GitHub** Action similar to below:
|
In your repository you should have a `.github/workflows` folder with **GitHub** Action similar to below:
|
||||||
|
|
||||||
- `.github/workflows/linter.yml`
|
- `.github/workflows/linter.yml`
|
||||||
- Example file can be found at `TEMPLATES/linter.yml`
|
- Example file can be found at [`TEMPLATES/linter.yml`](/TEMPLATES/linter.yml)
|
||||||
|
|
||||||
This file should have the following code:
|
This file should have the following code:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
---
|
---
|
||||||
###########################
|
#################################
|
||||||
###########################
|
#################################
|
||||||
## Linter GitHub Actions ##
|
## Super Linter GitHub Actions ##
|
||||||
###########################
|
#################################
|
||||||
###########################
|
#################################
|
||||||
name: Lint Code Base
|
name: Lint Code Base
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -143,10 +143,10 @@ name: Lint Code Base
|
||||||
#############################
|
#############################
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore: [master]
|
branches-ignore: [master, main]
|
||||||
# Remove the line above to run when pushing to master
|
# Remove the line above to run when pushing to master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master, main]
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Set the Job #
|
# Set the Job #
|
||||||
|
|
Loading…
Reference in a new issue