add checkout ref

This commit is contained in:
Joe 2022-03-08 18:35:00 +00:00 committed by Dexter Edwards
parent e7af88e875
commit 3787decb0a

View File

@ -18,6 +18,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
- name: Use Node.js 16