Add website update GitHub action
This commit is contained in:
parent
78782b6d93
commit
6ec6b5c7b9
5 changed files with 120 additions and 0 deletions
37
.github/workflows/megalinter.yml
vendored
Normal file
37
.github/workflows/megalinter.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# MegaLinter GitHub Action configuration file
|
||||
# More info at https://megalinter.io
|
||||
name: MegaLinter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
env:
|
||||
MEGALINTER_CONFIG: .github/linters/.mega-linter.yml
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}-${{ github.workflow }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
megalinter:
|
||||
name: MegaLinter
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Git Checkout
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.PAT }}
|
||||
|
||||
- name: MegaLinter
|
||||
id: ml
|
||||
# You can override MegaLinter flavor used to have faster performances
|
||||
# More info at https://megalinter.io/flavors/
|
||||
uses: oxsecurity/megalinter/flavors/python@v8.0.0
|
||||
env:
|
||||
VALIDATE_ALL_CODEBASE: true
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
# DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks
|
||||
Loading…
Add table
Add a link
Reference in a new issue