diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml index e212cf93fc2e..1cb76723aa37 100644 --- a/.github/workflows/shellcheck.yaml +++ b/.github/workflows/shellcheck.yaml @@ -18,9 +18,11 @@ jobs: SHELLCHECK_OPTS: -x -e SC2059 -e SC2086 with: scandir: '.github/workflows/scripts' + severity: warning - name: shellcheck buildscripts uses: ludeeus/action-shellcheck@master env: SHELLCHECK_OPTS: -x -e SC2059 -e SC2086 with: scandir: 'internal/buildscripts' + severity: warning diff --git a/internal/buildscripts/packaging/fpm/deb/build.sh b/internal/buildscripts/packaging/fpm/deb/build.sh index c27429cc17a0..b07fff55ea2e 100755 --- a/internal/buildscripts/packaging/fpm/deb/build.sh +++ b/internal/buildscripts/packaging/fpm/deb/build.sh @@ -12,7 +12,7 @@ ARCH="${2:-"amd64"}" OUTPUT_DIR="${3:-"$REPO_DIR/dist/"}" OTELCONTRIBCOL_PATH="$REPO_DIR/bin/otelcontribcol_linux_$ARCH" -."$SCRIPT_DIR"/../common.sh +. "$SCRIPT_DIR"/../common.sh if [[ -z "$VERSION" ]]; then latest_tag="$( git describe --abbrev=0 --match v[0-9]* )" diff --git a/internal/buildscripts/packaging/fpm/rpm/build.sh b/internal/buildscripts/packaging/fpm/rpm/build.sh index 10ce9f18a916..4b2d072c62cb 100755 --- a/internal/buildscripts/packaging/fpm/rpm/build.sh +++ b/internal/buildscripts/packaging/fpm/rpm/build.sh @@ -12,7 +12,7 @@ ARCH="${2:-"amd64"}" OUTPUT_DIR="${3:-"$REPO_DIR/dist/"}" OTELCONTRIBCOL_PATH="$REPO_DIR/bin/otelcontribcol_linux_$ARCH" -."$SCRIPT_DIR"/../common.sh +. "$SCRIPT_DIR"/../common.sh if [[ -z "$VERSION" ]]; then latest_tag="$( git describe --abbrev=0 --match v[0-9]* )"