From 3e0bce19a0f1c19640b69ea1952fbb2a14db561e Mon Sep 17 00:00:00 2001 From: Dima Ovcharenko Date: Tue, 29 Sep 2026 11:44:39 +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 5fc3595..42e74d1 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -45,6 +45,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 f29fcd9..27b890d 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -49,6 +49,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