CI: Remove shebang from non-executable scripts
Some of our CI shell scripts are meant only to be sourced and not run directly however they include an initial shebang line, implying that they should be run. Remove the shebang line from `crates.sh` and the various `test_vars.sh` scripts. Add a `shellcheck` directive to inhibit the no-shebang warning. Fix: #2764
This commit is contained in:
parent
3c87d0c5a3
commit
60ab3d26e5
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
# disable verify unused vars, despite the fact that they are used when sourced
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
# disable verify unused vars, despite the fact that they are used when sourced
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
# disable verify unused vars, despite the fact that they are used when sourced
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
#
|
||||
# Used by labeler.yaml
|
||||
#
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
# disable verify unused vars, despite the fact that they are used when sourced
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
# disable verify unused vars, despite the fact that they are used when sourced
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
# disable verify unused vars, despite the fact that they are used when sourced
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
# No shebang, this file should not be executed.
|
||||
# shellcheck disable=SC2148
|
||||
#
|
||||
# disable verify unused vars, despite the fact that they are used when sourced
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
|
|
Loading…
Reference in New Issue