Skip to content

Commit

Permalink
Checkout the right merge commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vkucera committed Dec 21, 2022
1 parent be977e9 commit ac758e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0
# Try to get the merge commit.
ref: ${{ github.event.pull_request.merge_commit_sha }}
# Checkout the merge commit.
ref: refs/pull/${{ github.event.number }}/merge

# MegaLinter
- name: MegaLinter
Expand Down

0 comments on commit ac758e6

Please sign in to comment.