From 1410a658a45358064c37f965d9d0c4a3c9854b61 Mon Sep 17 00:00:00 2001 From: v-sabiraj <94349919+v-sabiraj@users.noreply.github.com> Date: Wed, 29 Jul 2026 17:30:02 +0530 Subject: [PATCH] Enable unsafe PR checkout in ASIM workflow Adds `allow-unsafe-pr-checkout: true` to all PR checkout steps in `runAsimSchemaAndDataTesters.yaml`. This ensures each job can reliably checkout the pull request head SHA in the current repository configuration. --- .github/workflows/runAsimSchemaAndDataTesters.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/runAsimSchemaAndDataTesters.yaml b/.github/workflows/runAsimSchemaAndDataTesters.yaml index e08c2624440..77c591a854a 100644 --- a/.github/workflows/runAsimSchemaAndDataTesters.yaml +++ b/.github/workflows/runAsimSchemaAndDataTesters.yaml @@ -357,6 +357,7 @@ jobs: with: ref: ${{github.event.pull_request.head.sha}} repository: ${{ github.repository }} + allow-unsafe-pr-checkout: true persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. - name: Setup git config @@ -411,6 +412,7 @@ jobs: with: ref: ${{github.event.pull_request.head.sha}} repository: ${{ github.repository }} + allow-unsafe-pr-checkout: true persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. - name: Setup git config @@ -480,6 +482,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} repository: ${{ github.repository }} + allow-unsafe-pr-checkout: true persist-credentials: false fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. @@ -554,6 +557,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} repository: ${{ github.repository }} + allow-unsafe-pr-checkout: true persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. - name: Setup git config