diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index a438ce86..6133aa90 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -20,6 +20,7 @@ jobs: echo "$GITHUB_CONTEXT" instantiate-check-runs: + if: startsWith(github.event.pull_request.head.repo.full_name, github.repository_owner) runs-on: ubuntu-latest strategy: matrix: @@ -66,8 +67,8 @@ jobs: path: daed-full-src.zip - name: Report result + if: always() && startsWith(github.event.pull_request.head.repo.full_name, github.repository_owner) uses: daeuniverse/ci-seed-jobs/core/daed/report-check-run@master - if: always() with: app_id: ${{ secrets.GH_APP_ID }} private_key: ${{ secrets.GH_APP_PRIVATE_KEY }} @@ -99,8 +100,8 @@ jobs: path: dist - name: Report result + if: always() && startsWith(github.event.pull_request.head.repo.full_name, github.repository_owner) uses: daeuniverse/ci-seed-jobs/core/daed/report-check-run@master - if: always() with: app_id: ${{ secrets.GH_APP_ID }} private_key: ${{ secrets.GH_APP_PRIVATE_KEY }} @@ -247,15 +248,15 @@ jobs: path: bundled/* - name: Report result + if: always() && startsWith(github.event.pull_request.head.repo.full_name, github.repository_owner) uses: daeuniverse/ci-seed-jobs/core/daed/report-check-run@master - if: always() with: app_id: ${{ secrets.GH_APP_ID }} private_key: ${{ secrets.GH_APP_PRIVATE_KEY }} id: "dae-bot[bot]/build-bundle" conclusion: - if: always() + if: always() && startsWith(github.event.pull_request.head.repo.full_name, github.repository_owner) needs: [build-bundle] runs-on: ubuntu-latest steps: