nixos/github-runner: fix build failure
Shellcheck complains:
> args=(
> ^-- SC2054 (warning): Use spaces, not commas, to separate array elements.
Add a comment disabling shellcheck in this case and annotating why.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
@@ -151,9 +151,10 @@ with lib;
|
||||
# Always clean workDir
|
||||
find -H "$WORK_DIRECTORY" -mindepth 1 -delete
|
||||
'';
|
||||
configureRunner = writeScript "configure" ''
|
||||
configureRunner = writeScript "configure" /*bash*/''
|
||||
if [[ -e "${newConfigTokenPath}" ]]; then
|
||||
echo "Configuring GitHub Actions Runner"
|
||||
# shellcheck disable=SC2054 # don't complain about commas in --labels
|
||||
args=(
|
||||
--unattended
|
||||
--disableupdate
|
||||
|
||||
Reference in New Issue
Block a user