Skip to content

Commit

Permalink
Fix checkout in post-merge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Mar 8, 2025
1 parent 871be8f commit ff67423
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
# Make sure that we have enough commits to find the parent merge commit.
# Since all merges should be through merge commits, fetching two commits
# should be enough to get the parent bors merge commit.
fetch-depth: 2
- name: Perform analysis and send PR
env:
GH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit ff67423

Please # to comment.