Skip to content

Commit

Permalink
Release 4.9.3 (super-linter#2948)
Browse files Browse the repository at this point in the history
* Update action.yml

* Update action.yml

* set flag to solve local changes

* spaces
  • Loading branch information
admiralAwkbar committed May 24, 2022
1 parent 582549a commit 431ee78
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-production.yml
Expand Up @@ -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. #
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion lib/functions/buildFileList.sh
Expand Up @@ -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}]"
Expand Down
2 changes: 2 additions & 0 deletions lib/linter.sh
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion slim/action.yml
Expand Up @@ -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'
Expand Down

0 comments on commit 431ee78

Please sign in to comment.