diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6037caaf..72885bd5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Check if frontend was modified uses: dorny/paths-filter@v3 @@ -59,7 +60,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Check if backend was modified uses: dorny/paths-filter@v3 @@ -123,7 +125,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Check if backend was modified uses: dorny/paths-filter@v3 diff --git a/.github/workflows/update libs.yml b/.github/workflows/update libs.yml index 9103e662..214bc692 100644 --- a/.github/workflows/update libs.yml +++ b/.github/workflows/update libs.yml @@ -15,7 +15,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Check if any package.json was modified uses: dorny/paths-filter@v3