Skip to content

Commit

Permalink
allow setting flavour
Browse files Browse the repository at this point in the history
  • Loading branch information
Skitionek committed Apr 17, 2024
1 parent b2b1720 commit f80dad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/code-quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ env:
APPLY_FIXES_MODE: ${{ github.event.inputs.APPLY_FIXES_MODE }}

MEGALINT_VERSION: a7a0163b6c8ff7474a283d99a706e27483ddd80f # v7.10.0
MEGALINT_FLAVOUR: ${{ github.event.inputs.FLAVOUR || 'all' }}

jobs:
check-code-quality:
Expand Down Expand Up @@ -157,7 +158,7 @@ jobs:
with:
# You can override MegaLinter flavor used to have faster performances
# More info at https://megalinter.io/flavors/
uses: oxsecurity/megalinter/flavour/${{ inputs.FLAVOUR }}@${{ env.MEGALINT_VERSION }}
uses: oxsecurity/megalinter/flavour/${{ env.MEGALINT_FLAVOUR }}@${{ env.MEGALINT_VERSION }}

# Upload MegaLinter artifacts
- name: Archive production artifacts
Expand Down

0 comments on commit f80dad9

Please sign in to comment.