ci: Define default shell for all workflows (#47883)

GitHub allows defining a default shell for all jobs on the workflow
level, which we did not use before, yet practically did when it comes
down to our usage of `named::bash`. Since this makes stuff quite
verbose, I decided on using the defaults instead so the workflows become
somewhat easier to audit when reading the generated files.

Powershell steps continue to use Powershell, only the default for bash
scripts was modified.


Release Notes:

- N/A
This commit is contained in:
Finn Evers
2026-01-28 22:07:06 +01:00
committed by GitHub
parent dbeb0af9ad
commit 97f0ab77ca
23 changed files with 81 additions and 238 deletions
+3 -2
View File
@@ -31,10 +31,11 @@ jobs:
cache-dependency-path: script/danger/pnpm-lock.yaml
- name: danger::danger_job::install_deps
run: pnpm install --dir script/danger
shell: bash -euxo pipefail {0}
- name: danger::danger_job::run
run: pnpm run --dir script/danger danger ci
shell: bash -euxo pipefail {0}
env:
GITHUB_TOKEN: not_a_real_token
DANGER_GITHUB_API_BASE_URL: https://danger-proxy.zed.dev/github
defaults:
run:
shell: bash -euxo pipefail {0}