From 1a7c9c0b107b79515d18ff033aa64f8dafb51155 Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Sun, 19 Sep 2021 10:34:37 -0400 Subject: [PATCH] fix(ci): explicitly check out PR HEAD possible fix for Dependabot CI runs not accurately reflecting updated dependencies --- .github/workflows/tests-dependabot.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-dependabot.yml b/.github/workflows/tests-dependabot.yml index 16f35308a6..c1f7ddfc46 100644 --- a/.github/workflows/tests-dependabot.yml +++ b/.github/workflows/tests-dependabot.yml @@ -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 @@ -66,4 +68,4 @@ jobs: if: always() - name: Integration tests / Cypress run: npm run ci:integration:cypress - if: always() \ No newline at end of file + if: always()