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