Release 4.9.3 (#2948)

* Update action.yml

* Update action.yml

* set flag to solve local changes

* spaces
This commit is contained in:
Lukas Gravley 2022-05-24 13:44:12 -05:00 committed by GitHub
parent 582549a430
commit 431ee7836e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 3 deletions

View file

@ -127,6 +127,8 @@ jobs:
VALIDATE_ALL_CODEBASE: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: main
LOCAL_UPDATES: true
###############################################################
# Fix file and dir ownership. #

View file

@ -4,7 +4,7 @@ author: 'GitHub'
description: 'It is a simple combination of various linters, written in bash, to help validate your source code.'
runs:
using: 'docker'
image: 'docker://ghcr.io/github/super-linter:v4.9.2'
image: 'docker://ghcr.io/github/super-linter:v4.9.3'
branding:
icon: 'check-square'
color: 'white'

View file

@ -101,7 +101,7 @@ function BuildFileList() {
##############################
# Check the shell for errors #
##############################
if [ ${ERROR_CODE} -ne 0 ]; then
if [ ${ERROR_CODE} -ne 0 ] && [ "${LOCAL_UPDATDES}" == "false" ]; then
# Error
info "Failed to switch to ${DEFAULT_BRANCH} branch to get files changed!"
fatal "[${SWITCH_CMD}]"

View file

@ -132,6 +132,8 @@ LATEX_FILE_NAME=".chktexrc"
# shellcheck disable=SC2034 # Variable is referenced indirectly
LUA_FILE_NAME=".luacheckrc"
# 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}"
# shellcheck disable=SC2034 # Variable is referenced indirectly
OPENAPI_FILE_NAME=".openapirc.yml"

View file

@ -4,7 +4,7 @@ author: 'GitHub'
description: 'It is a simple combination of various linters, written in bash, to help validate your source code.'
runs:
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:
icon: 'check-square'
color: 'white'