-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (31 loc) · 857 Bytes
/
mega-linter.yml
File metadata and controls
39 lines (31 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
# Copyright The Linux Foundation and each contributor to LFX.
# SPDX-License-Identifier: MIT
name: MegaLinter
"on":
pull_request: null
permissions:
contents: read
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
megalinter:
name: MegaLinter
runs-on: ubuntu-latest
permissions:
contents: read
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
# MegaLinter
- name: MegaLinter
id: ml
# Use the Python flavor.
uses: oxsecurity/megalinter/flavors/python@62c799d895af9bcbca5eacfebca29d527f125a57 # 9.1.0
env:
# Pass token for better rate limits.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}