👷 Adds a GH action to lint all merged code

This commit is contained in:
Alicia Sykes 2021-07-21 17:51:57 +01:00 committed by GitHub
parent 192bee0152
commit a87dab117a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

21
.github/workflows/blank.yml vendored Normal file
View File

@ -0,0 +1,21 @@
# Lints code merged into master branch
name: Lint Code Base
on:
push:
pull_request:
branches: [master]
jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}