feact(ci): update tf-docs and megalinter flows

This commit is contained in:
2024-06-18 15:50:10 +03:00
parent 60045071ad
commit 917a4bc579

View File

@@ -5,15 +5,15 @@ name: MegaLinter
on:
workflow_call:
inputs:
enabled-linters:
required: false
type: string
default: ""
disabled-linters:
required: false
type: string
default: ""
# inputs:
# enabled-linters:
# required: false
# type: string
# default: ""
# disabled-linters:
# required: false
# type: string
# default: ""
secrets:
gitea-token:
required: true
@@ -23,8 +23,8 @@ env: # Comment env block if you don't want to apply fixes
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)
ENABLE_LINTERS: ${{ inputs.enabled-linters }}
DISABLE_LINTERS: ${{ inputs.disabled-linters }}
# ENABLE_LINTERS: ${{ inputs.enabled-linters }}
# DISABLE_LINTERS: ${{ inputs.disabled-linters }}
# concurrency:
# group: ${{ github.ref }}-${{ github.workflow }}