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: on:
workflow_call: workflow_call:
inputs: # inputs:
enabled-linters: # enabled-linters:
required: false # required: false
type: string # type: string
default: "" # default: ""
disabled-linters: # disabled-linters:
required: false # required: false
type: string # type: string
default: "" # default: ""
secrets: secrets:
gitea-token: gitea-token:
required: true 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: 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_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) 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 }} # ENABLE_LINTERS: ${{ inputs.enabled-linters }}
DISABLE_LINTERS: ${{ inputs.disabled-linters }} # DISABLE_LINTERS: ${{ inputs.disabled-linters }}
# concurrency: # concurrency:
# group: ${{ github.ref }}-${{ github.workflow }} # group: ${{ github.ref }}-${{ github.workflow }}