Skip to content

Commit e847847

Browse files
authored
Merge pull request #1731 from vprashar2929/fix-ch-code
fix(ci): checkout code base earlier
2 parents bc5e0e1 + 7d8bcc2 commit e847847

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/mock_acpi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
token: ${{ secrets.GITHUB_TOKEN }}
2828
status: pending
2929

30+
- name: Checkout code
31+
if: ${{ success() }}
32+
uses: actions/checkout@v3
33+
with:
34+
ref: ${{ steps.pr_branch.outputs.head_ref }}
35+
3036
- name: metal-runner-action
3137
uses: equinix-labs/[email protected]
3238
with:
@@ -54,12 +60,6 @@ jobs:
5460
sudo apt install -y ansible python3-pip
5561
sudo ansible-galaxy collection install community.docker
5662
57-
- name: Checkout code
58-
if: ${{ success() }}
59-
uses: actions/checkout@v3
60-
with:
61-
ref: ${{ steps.pr_branch.outputs.head_ref }}
62-
6363
- name: Run playbook
6464
id: run-playbook
6565
if: ${{ success() }}

0 commit comments

Comments
 (0)