Skip to content

Commit

Permalink
fix(ci): explicitly check out PR HEAD
Browse files Browse the repository at this point in the history
possible fix for Dependabot CI runs not accurately reflecting updated dependencies
  • Loading branch information
thecristen committed Sep 19, 2021
1 parent 53921bf commit 1a7c9c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:

steps:
- uses: actions/checkout@v2

with:
# Check out the pull request HEAD
ref: ${{ github.event.pull_request.head.sha }}
# ASDF. Used the cached.
- uses: asdf-vm/actions/setup@v1
- uses: actions/cache@v2
Expand Down Expand Up @@ -66,4 +68,4 @@ jobs:
if: always()
- name: Integration tests / Cypress
run: npm run ci:integration:cypress
if: always()
if: always()

0 comments on commit 1a7c9c0

Please sign in to comment.