Fix checkout in post-merge workflow
This commit is contained in:
parent
871be8f54a
commit
ff674232d1
1 changed files with 5 additions and 0 deletions
5
.github/workflows/post-merge.yml
vendored
5
.github/workflows/post-merge.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue