ci: fix checkout head on pr
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 2ad31bc..9b24641 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -39,6 +39,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1
path: 'head'
+ allow-unsafe-pr-checkout: true
- name: Check workflows changes
if: github.event_name != 'merge_group' && github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name
GitHub
sha: d80bf5ce5b46a669000277dd9e0ac009b6a3fcd4