Skip to content

Commit

Permalink
Explicitly fetch PR base-ref for diffing
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkarns committed Apr 9, 2020
1 parent d1eb9c3 commit f295e9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lint-checksums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Fetch base_ref HEAD
run: git fetch --depth=1 origin +refs/heads/${{github.base_ref}}:refs/remotes/origin/${{github.base_ref}}
- run: npm ci
- run: npm run lint:checksums -- origin/${{github.base_ref}}

0 comments on commit f295e9a

Please sign in to comment.