Skip to content

Commit 6974b84

Browse files
committed
ci: Set bash as the default shell for actions that use it
1 parent 90f627c commit 6974b84

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ on:
66
- main
77
# Review gh actions docs if you want to further define triggers, paths, etc
88
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
9-
9+
defaults:
10+
run:
11+
shell: bash
1012
jobs:
1113
build:
1214
name: Test deployment

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ on:
77
# repository_dispatch: # TODO: Configure repository_dispatch event in update-common.yml
88
# types:
99
# - update-common-package-complete
10-
10+
defaults:
11+
run:
12+
shell: bash
1113
jobs:
1214
build:
1315
name: Build Docusaurus
1416
runs-on: ubuntu-latest
1517
steps:
1618
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v6.0.0
17-
19+
1820
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 #v6.0.0
1921
with:
2022
cache: npm

.github/workflows/update-common.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ on:
1010
description: 'The doc-detective-common version.'
1111
required: false
1212
default: 'latest'
13-
13+
defaults:
14+
run:
15+
shell: bash
1416
jobs:
1517
update:
1618
permissions:

0 commit comments

Comments
 (0)