Skip to content

Commit a3b4e31

Browse files
authored
Run checkout GHA with allow-unsafe-pr-checkout=true in shared push workflow (#118)
Same as #114 but for push
1 parent 6a9e865 commit a3b4e31

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/_shared-docs-build-push.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,10 @@ jobs:
222222
path: ${{ steps.vars.outputs.checkout-path }}
223223
ref: ${{ inputs.build-ref }}
224224
persist-credentials: false
225-
225+
# Since checkout v7, we have to explicitly allow unsafe use.
226+
# We can remove this if we explicitly specify `ref` as above.
227+
allow-unsafe-pr-checkout: true
228+
226229
- name: Initialize the build environment
227230
id: init
228231
uses: ansible-community/github-docs-build/actions/ansible-docs-build-init@main

0 commit comments

Comments
 (0)