From f80dad93c43bdefbe951aefa0abaac3b71f9eb7e Mon Sep 17 00:00:00 2001 From: Dominik Mariusz Maszczyk Date: Wed, 17 Apr 2024 10:38:57 +0200 Subject: [PATCH] allow setting flavour --- .github/workflows/code-quality-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality-check.yml b/.github/workflows/code-quality-check.yml index b08224f..1601c9f 100644 --- a/.github/workflows/code-quality-check.yml +++ b/.github/workflows/code-quality-check.yml @@ -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: @@ -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