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
This commit is contained in:
Stefan Haller 2025-07-05 16:36:46 +02:00
parent 2659a8cd90
commit 7ef8385f2e

View file

@ -22,6 +22,10 @@ on:
required: true
default: false
defaults:
run:
shell: bash
jobs:
check-and-release:
runs-on: ubuntu-latest