b373cfafb3
* build(deps): bump nvuillam/mega-linter from 4 to 5.0.4 Bumps [nvuillam/mega-linter](https://github.com/nvuillam/mega-linter) from 4 to 5.0.4. - [Release notes](https://github.com/nvuillam/mega-linter/releases) - [Changelog](https://github.com/megalinter/megalinter/blob/main/CHANGELOG.md) - [Commits](https://github.com/nvuillam/mega-linter/compare/v4...v5.0.4) --- updated-dependencies: - dependency-name: nvuillam/mega-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update lint.yml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ryan <me@hackerc.at>
25 lines
524 B
YAML
25 lines
524 B
YAML
name: Lint Code Base
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Lint
|
|
uses: megalinter/megalinter/flavors/documentation@v5.0.4
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }}
|
|
DEFAULT_BRANCH: master
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|