chore(ci): ensure that the latest commit is pulled when checking out (#25063)

This commit is contained in:
Liam DeBeasi
2022-04-06 10:40:01 -04:00
committed by GitHub
parent eea25d091d
commit 0dd0646e9d
2 changed files with 7 additions and 0 deletions

View File

@@ -4,6 +4,9 @@ runs:
using: 'composite'
steps:
- uses: actions/checkout@v2
with:
# Checkout the latest commit in this branch
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v1
with:
node-version: 15.x

View File

@@ -9,6 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
# Checkout the latest commit in this branch
ref: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/workflows/actions/build-core
test-core-clean-build: