mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 08:41:02 -05:00
Release 4.9.3 (#2948)
* Update action.yml * Update action.yml * set flag to solve local changes * spaces
This commit is contained in:
parent
582549a430
commit
431ee7836e
5 changed files with 7 additions and 3 deletions
2
.github/workflows/deploy-production.yml
vendored
2
.github/workflows/deploy-production.yml
vendored
|
@ -127,6 +127,8 @@ jobs:
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
DEFAULT_BRANCH: main
|
DEFAULT_BRANCH: main
|
||||||
|
LOCAL_UPDATES: true
|
||||||
|
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# Fix file and dir ownership. #
|
# Fix file and dir ownership. #
|
||||||
|
|
|
@ -4,7 +4,7 @@ author: 'GitHub'
|
||||||
description: 'It is a simple combination of various linters, written in bash, to help validate your source code.'
|
description: 'It is a simple combination of various linters, written in bash, to help validate your source code.'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker://ghcr.io/github/super-linter:v4.9.2'
|
image: 'docker://ghcr.io/github/super-linter:v4.9.3'
|
||||||
branding:
|
branding:
|
||||||
icon: 'check-square'
|
icon: 'check-square'
|
||||||
color: 'white'
|
color: 'white'
|
||||||
|
|
|
@ -101,7 +101,7 @@ function BuildFileList() {
|
||||||
##############################
|
##############################
|
||||||
# Check the shell for errors #
|
# Check the shell for errors #
|
||||||
##############################
|
##############################
|
||||||
if [ ${ERROR_CODE} -ne 0 ]; then
|
if [ ${ERROR_CODE} -ne 0 ] && [ "${LOCAL_UPDATDES}" == "false" ]; then
|
||||||
# Error
|
# Error
|
||||||
info "Failed to switch to ${DEFAULT_BRANCH} branch to get files changed!"
|
info "Failed to switch to ${DEFAULT_BRANCH} branch to get files changed!"
|
||||||
fatal "[${SWITCH_CMD}]"
|
fatal "[${SWITCH_CMD}]"
|
||||||
|
|
|
@ -132,6 +132,8 @@ LATEX_FILE_NAME=".chktexrc"
|
||||||
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||||
LUA_FILE_NAME=".luacheckrc"
|
LUA_FILE_NAME=".luacheckrc"
|
||||||
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||||
|
LOCAL_UPDATES="${LOCAL_UPDATES:-false}"
|
||||||
|
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||||
MARKDOWN_FILE_NAME="${MARKDOWN_CONFIG_FILE:-.markdown-lint.yml}"
|
MARKDOWN_FILE_NAME="${MARKDOWN_CONFIG_FILE:-.markdown-lint.yml}"
|
||||||
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
# shellcheck disable=SC2034 # Variable is referenced indirectly
|
||||||
OPENAPI_FILE_NAME=".openapirc.yml"
|
OPENAPI_FILE_NAME=".openapirc.yml"
|
||||||
|
|
|
@ -4,7 +4,7 @@ author: 'GitHub'
|
||||||
description: 'It is a simple combination of various linters, written in bash, to help validate your source code.'
|
description: 'It is a simple combination of various linters, written in bash, to help validate your source code.'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker://ghcr.io/github/super-linter:slim-v4.9.2'
|
image: 'docker://ghcr.io/github/super-linter:slim-v4.9.3'
|
||||||
branding:
|
branding:
|
||||||
icon: 'check-square'
|
icon: 'check-square'
|
||||||
color: 'white'
|
color: 'white'
|
||||||
|
|
Loading…
Reference in a new issue