diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 08a070c6aec4ba..3be5a69e57e132 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -18,6 +18,10 @@ env: HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_ENV_HINTS: 1 +defaults: + run: + shell: bash -xeuo pipefail {0} + concurrency: group: "actionlint-${{ github.ref }}" cancel-in-progress: ${{ github.event_name == 'pull_request' }} diff --git a/.github/workflows/autogenerated-files.yml b/.github/workflows/autogenerated-files.yml index 1689fdc7f41b1e..ed9ba98e3f7609 100644 --- a/.github/workflows/autogenerated-files.yml +++ b/.github/workflows/autogenerated-files.yml @@ -16,6 +16,10 @@ env: HOMEBREW_DEVELOPER: 1 HOMEBREW_NO_AUTO_UPDATE: 1 +defaults: + run: + shell: bash -xeuo pipefail {0} + jobs: autogenerated: runs-on: ubuntu-22.04 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f31d643a9df21a..f0a83806bfcd63 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -8,6 +8,10 @@ on: branches: - master +defaults: + run: + shell: bash -xeuo pipefail {0} + jobs: analyze: name: Analyze diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d5595a76bc5c2e..92fd408a6ef394 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -13,6 +13,10 @@ on: permissions: contents: read +defaults: + run: + shell: bash -xeuo pipefail {0} + jobs: ubuntu: if: github.repository_owner == 'Homebrew' @@ -41,7 +45,9 @@ jobs: date="$(date --rfc-3339=seconds --utc)" brew_version="$(git describe --tags --dirty --abbrev=7)" + set +o pipefail DELIMITER="END_LABELS_$(LC_ALL=C tr -dc '[:alnum:]'