Skip to content

Commit

Permalink
only checkout head, and not the merged PR
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Apr 6, 2020
1 parent 9d50c3f commit a9a40eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-selenium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ jobs:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v1
if: github.event_name != 'pull_request'
name: Git Pull
- uses: actions/checkout@v1
if: github.event_name == 'pull_request'
with:
ref: ${{ github.event.pull_request.head.sha }}

- uses: actions/cache@v1
name: Maven Cache
Expand Down

0 comments on commit a9a40eb

Please sign in to comment.