We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e32f65 + e3d7944 commit 1c68019Copy full SHA for 1c68019
internal/ghworkflow/workflow_checks.go
@@ -29,10 +29,12 @@ func checksWorkflow(cfg core.Configuration) {
29
30
if cfg.ShellCheck.Enabled.UnwrapOr(true) {
31
// delete the pretty out of date installed version of shellcheck so that make install-shellcheck installs the current version
32
- j.addStep(jobStep{
33
- Name: "Delete pre-installed shellcheck",
34
- Run: "sudo rm -f $(which shellcheck)",
35
- })
+ if !ghwCfg.IsSelfHostedRunner {
+ j.addStep(jobStep{
+ Name: "Delete pre-installed shellcheck",
+ Run: "sudo rm -f $(which shellcheck)",
36
+ })
37
+ }
38
j.addStep(jobStep{
39
Name: "Run shellcheck",
40
Run: "make run-shellcheck",
0 commit comments