mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
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:
parent
f1321e4e63
commit
dc700df6b2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue