Skip to content

Commit 5949c99

Browse files
adding allow-unsafe-pr-checkout: true to CI_docstring_labeler.yml (#3484)
1 parent f22e917 commit 5949c99

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/CI_docstring_labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
ref: ${{ github.event.pull_request.head.ref }}
3939
# This must be set to correctly checkout a fork
4040
repository: ${{ github.event.pull_request.head.repo.full_name }}
41+
# Safe because the script is copied from the trusted base before this checkout;
42+
# fork files are only read as data, never executed.
43+
allow-unsafe-pr-checkout: true
4144

4245
- name: Get docstrings
4346
id: head-docstrings

0 commit comments

Comments
 (0)