From 5802f36625b97800498a813aaa128aefb57a1a8a Mon Sep 17 00:00:00 2001 From: Alexander Kovalenko Date: Tue, 18 Jun 2024 16:59:19 +0300 Subject: [PATCH] Fixed repo ref for format workflow. --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 55143e7b..dee10462 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,7 @@ concurrency: env: GITHUB_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }} IS_DEV: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/development' }} + REPOSITORY: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }} jobs: test-format: runs-on: ubuntu-latest @@ -24,6 +25,7 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ env.GITHUB_REF }} + repository: ${{ env.REPOSITORY }} fetch-depth: 0 - uses: ./.github/actions/init - name: Format