mirror of
https://git.anonymousland.org/anonymousland/anonymousland.git
synced 2024-12-18 03:44:24 -05:00
Enable fixes with pull requests
This commit is contained in:
parent
cd2f56d30d
commit
a7c2afb0f0
6
.github/workflows/mega-linter.yml
vendored
6
.github/workflows/mega-linter.yml
vendored
@ -11,9 +11,9 @@ on:
|
|||||||
|
|
||||||
env: # Comment env block if you do not want to apply fixes
|
env: # Comment env block if you do not want to apply fixes
|
||||||
# Apply linter fixes configuration
|
# 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: yes # 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_EVENT: all # 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)
|
APPLY_FIXES_MODE: pull_request # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.ref }}-${{ github.workflow }}
|
group: ${{ github.ref }}-${{ github.workflow }}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Configuration file for MegaLinter
|
# Configuration file for MegaLinter
|
||||||
# See all available variables at https://oxsecurity.github.io/megalinter/configuration/ and in linters documentation
|
# See all available variables at https://oxsecurity.github.io/megalinter/configuration/ and in linters documentation
|
||||||
|
|
||||||
APPLY_FIXES: none # all, none, or list of linter keys
|
APPLY_FIXES: all # all, none, or list of linter keys
|
||||||
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
|
# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
|
||||||
# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
|
# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
|
||||||
DISABLE:
|
DISABLE:
|
||||||
|
Loading…
Reference in New Issue
Block a user