Files
gitea-debian-runner/.github/workflows/lint.yml
T
dependabot[bot] 31d391457e build(deps): bump megalinter/megalinter from 5.0.4 to 5.2.0 (#38)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 06:15:56 +01:00

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.2.0
env:
VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }}
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}