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:
1 parent
6ff5dec7b7
commit
1deed65cdd
23 files changed
+81
-238
No files matched your search
@@ -16,3 +16,6 @@ jobs:
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}pr
|
||||
cancel-in-progress: true
|
||||
defaults:
|
||||
run:
|
||||
shell: bash -euxo pipefail {0}
|
||||
@@ -28,7 +28,6 @@ jobs:
|
||||
bump_type="patch"
|
||||
fi
|
||||
echo "bump_type=$bump_type" >> $GITHUB_OUTPUT
|
||||
shell: bash -euxo pipefail {0}
|
||||
env:
|
||||
HAS_MAJOR_LABEL: |-
|
||||
${{ (github.event.action == 'labeled' && github.event.label.name == 'major') ||
|
||||
@@ -57,3 +56,6 @@ jobs:
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}labels
|
||||
cancel-in-progress: true
|
||||
defaults:
|
||||
run:
|
||||
shell: bash -euxo pipefail {0}
|
||||
@@ -14,3 +14,6 @@ jobs:
|
||||
secrets:
|
||||
app-id: ${{ secrets.ZED_ZIPPY_APP_ID }}
|
||||
app-secret: ${{ secrets.ZED_ZIPPY_APP_PRIVATE_KEY }}
|
||||
defaults:
|
||||
run:
|
||||
shell: bash -euxo pipefail {0}
|
||||
Reference in new issue
Block a user