Skip to content

Commit 601efc3

Browse files
authored
Upgrade MegaLinter to v6 (#599)
* Upgrade megalinter to v6 * Apply linter fixes
1 parent 28fff63 commit 601efc3

File tree

5 files changed

+48
-48
lines changed

5 files changed

+48
-48
lines changed

.github/workflows/deploy-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525

2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828
with:
2929
persist-credentials: false
3030
fetch-depth: 0

.github/workflows/mega-linter.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Mega-Linter GitHub Action configuration file
3-
# More info at https://megalinter.github.io
3+
# More info at https://oxsecurity.github.io/megalinter
44
name: Mega-Linter
55

66
on:
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
# Git Checkout
2727
- name: Checkout Code
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929
with:
3030
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
3131
fetch-depth: 0
@@ -34,11 +34,11 @@ jobs:
3434
- name: Mega-Linter
3535
id: ml
3636
# You can override Mega-Linter flavor used to have faster performances
37-
# More info at https://megalinter.github.io/flavors/
38-
uses: megalinter/megalinter/flavors/python@v5
37+
# More info at https://oxsecurity.github.io/megalinter/flavors/
38+
uses: oxsecurity/megalinter/flavors/python@v6
3939
env:
4040
# All available variables are described in documentation
41-
# https://megalinter.github.io/configuration/
41+
# https://oxsecurity.github.io/megalinter/configuration/
4242
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Set 'true' if you always want to lint all sources
4343
DEFAULT_BRANCH: ${{ github.event_name == 'pull_request' && github.base_ref || 'main' }}
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
name: Mega-Linter reports
5353
path: |
54-
report
54+
megalinter-reports
5555
mega-linter.log
5656
5757
# Create pull request if applicable (for now works only on PR from same repository, not from forks)

0 commit comments

Comments
 (0)