From e4b87ba81913308d0a400dbcb6b36c47b2e4e265 Mon Sep 17 00:00:00 2001 From: Dima Ovcharenko Date: Tue, 29 Sep 2026 11:47:22 +0300 Subject: [PATCH] allow unsafe pr checkout --- .github/workflows/qa.yml | 1 + .github/workflows/testing.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index da06106..12e1bf8 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -30,6 +30,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} ref: ${{ github.event.pull_request.head.sha || github.ref_name }} fetch-depth: 0 + allow-unsafe-pr-checkout: true # https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions - name: Извлечение имени текущей ветки diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index cfb55f2..d1e63bb 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -35,6 +35,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} ref: ${{ github.event.pull_request.head.sha || github.ref_name }} + allow-unsafe-pr-checkout: true - name: Установка OneScript uses: otymko/setup-onescript@v1.5