mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 05:56:56 +00:00
Fix checkout in post-merge workflow
This commit is contained in:
parent
871be8f54a
commit
ff674232d1
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…
Reference in New Issue
Block a user