Fix docstring-labeler.yml not working in PR from forks (#4648)

This commit is contained in:
Silvano Cerza 2023-04-12 21:16:06 +02:00 committed by GitHub
parent ba11d1c2a8
commit db69141642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,8 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
# This must be set to correctly checkout a fork
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Get docstrings
id: head-docstrings