From 7ef8385f2e16b30ccb7462fc5b9a119611733b2e Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sat, 5 Jul 2025 16:36:46 +0200 Subject: [PATCH] Set a default shell for all jobs Setting the shell to 'bash' turns on -e and -o pipefail, both of which are very desirable to have. https://github.com/actions/runner-images/issues/4459#issuecomment-965290856 --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccf80245a..3fd2c4e07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,10 @@ on: required: true default: false +defaults: + run: + shell: bash + jobs: check-and-release: runs-on: ubuntu-latest