Skip to content

Commit f97d702

Browse files
authored
Fixed shellcheck error with static checks (apache#15450)
Shellcheck released today broke static checks. This PR fixes it and pins shellcheck to specific version to avoid it in the future.
1 parent 130f9e3 commit f97d702

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ repos:
428428
- id: shellcheck
429429
name: Check Shell scripts syntax correctness
430430
language: docker_image
431-
entry: koalaman/shellcheck:stable -x -a
431+
entry: koalaman/shellcheck:v0.7.2 -x -a
432432
files: ^breeze$|^breeze-complete$|\.sh$|^hooks/build$|^hooks/push$|\.bash$|\.bats$
433433
- id: bats-tests
434434
name: Run BATS bash tests for changed Breeze bash files

dev/remove_artifacts.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ if [[ -z ${GITHUB_TOKEN} ]]; then
4040
echo 2>&1
4141
exit 2
4242
fi
43-
GITHUB_TOKEN=${GITHUB_TOKEN}
4443
readonly GITHUB_TOKEN
4544

4645
function github_api_call() {

0 commit comments

Comments
 (0)