Skip to content

Commit 796d6c0

Browse files
Updates the steps according to v3 checkout
1 parent 55f7523 commit 796d6c0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/LThooks-ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ jobs:
1414
name: Execute SmartUI Test with Github App Integration
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- name: Checkout code
18+
if: github.event_name == 'pull_request'
19+
uses: actions/checkout@v3
20+
with:
21+
ref: ${{ github.head_ref }}
1822

1923
- name: Create commit status
2024
run: |

.github/workflows/SDK-ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ jobs:
1717
name: Execute NodeJS sdk build
1818
runs-on: ubuntu-latest
1919
steps:
20-
- name: Checkout repo
20+
- name: Checkout code
21+
if: github.event_name == 'pull_request'
2122
uses: actions/checkout@v3
23+
with:
24+
ref: ${{ github.head_ref }}
2225

2326
- name: Install Dependencies
2427
run: |

0 commit comments

Comments
 (0)