From db9e19db976e056624f6c8f8d50e182c670754c3 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Mon, 26 Feb 2024 23:06:33 +0200 Subject: [PATCH] Automatically apply fixes from Mega Linter --- .github/workflows/mega-linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 7b1e118..2b2ac52 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -10,7 +10,7 @@ permissions: read-all env: # Comment env block if you do not want to apply fixes # Apply linter fixes configuration - APPLY_FIXES: none # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool) + APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool) APPLY_FIXES_EVENT: pull_request # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all) APPLY_FIXES_MODE: commit # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request) @@ -21,7 +21,7 @@ concurrency: jobs: build: name: MegaLinter - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: # Git Checkout - name: Checkout Code