Skip to content

Commit 8898a86

Browse files
committed
Check
1 parent aec59ae commit 8898a86

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.github/actions/checkout/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ runs:
2222
submodules: ${{ inputs.submodules-ssh-key && 'recursive' || false }}
2323
ssh-key: ${{ inputs.submodules-ssh-key }}
2424

25+
- name: Show main readme
26+
run: |
27+
cat ./packages/sdk-components-animation/private-src/README.md || echo "No README found"
28+
shell: bash
29+
2530
- name: Try checkout submodules to the same branch as main repo
2631
if: ${{ inputs.submodules-ssh-key }}
2732
run: |
@@ -34,5 +39,5 @@ runs:
3439

3540
- name: Show readme
3641
run: |
37-
cat ./packages/sdk-components-animation/private-src/README.md
42+
cat ./packages/sdk-components-animation/private-src/README.md || echo "No README found"
3843
shell: bash

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
runs-on: ubuntu-24.04-arm
2626

2727
steps:
28+
- uses: actions/checkout@v4
29+
with:
30+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
31+
2832
- uses: ./.github/actions/checkout
2933
with:
3034
ref: ${{ github.event.pull_request.head.sha || github.sha }}
@@ -61,6 +65,10 @@ jobs:
6165
runs-on: ubuntu-latest
6266

6367
steps:
68+
- uses: actions/checkout@v4
69+
with:
70+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
71+
6472
- uses: ./.github/actions/checkout
6573
with:
6674
ref: ${{ github.event.pull_request.head.sha || github.sha }}

.github/workflows/vercel-deploy-staging.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
runs-on: ubuntu-latest
3737

3838
steps:
39+
- uses: actions/checkout@v4
40+
with:
41+
ref: ${{ github.sha }}
42+
3943
- uses: ./.github/actions/checkout
4044
with:
4145
ref: ${{ github.sha }}

0 commit comments

Comments
 (0)