Files
server/.github/workflows/lint.yml

29 lines
601 B
YAML

name: Lint
on:
pull_request:
types: [opened, synchronize]
permissions:
contents: read
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-24.04
permissions:
pull-requests: write
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Lint with MegaLinter
uses: oxsecurity/megalinter/flavors/dotnetweb@55a59b24a441e0e1943080d4a512d827710d4a9d # v9.2.0
env:
VALIDATE_ALL_CODEBASE: false