Skip to content

Commit

Permalink
workflows/gitlab-ci: Checkout pull request HEAD commit instead of mer…
Browse files Browse the repository at this point in the history
…ge commit
  • Loading branch information
andreaskurth committed Jan 14, 2021
1 parent 4146c77 commit a5f91e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
uses: actions/checkout@v2
with:
persist-credentials: false
# Checkout pull request HEAD commit instead of merge commit, because CI runs against HEAD
# commit.
ref: ${{ github.event.pull_request.head.sha }}

- name: Wait for synchronization (every 5 minutes)
run: |
Expand Down

0 comments on commit a5f91e4

Please sign in to comment.