From 0748f57701cbc9a3fe6e93f917148874443ff669 Mon Sep 17 00:00:00 2001 From: Kenneth Rosario Date: Thu, 5 Oct 2023 18:20:29 -0700 Subject: [PATCH] chore: skip integ tests for pull requests from forks (#221) --- .github/workflows/buildpack-integration-test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/buildpack-integration-test.yml b/.github/workflows/buildpack-integration-test.yml index 53e8d97c..75745f5a 100644 --- a/.github/workflows/buildpack-integration-test.yml +++ b/.github/workflows/buildpack-integration-test.yml @@ -15,6 +15,7 @@ permissions: read-all jobs: go113-buildpack-test: + if: github.event.pull_request.head.repo.full_name == github.repository uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main with: http-builder-source: 'testdata/conformance/function' @@ -25,6 +26,7 @@ jobs: builder-runtime: 'go113' builder-runtime-version: '1.13' go116-buildpack-test: + if: github.event.pull_request.head.repo.full_name == github.repository uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main with: http-builder-source: 'testdata/conformance/function' @@ -35,6 +37,7 @@ jobs: builder-runtime: 'go116' builder-runtime-version: '1.16' non-declarative-buildpack-test: + if: github.event.pull_request.head.repo.full_name == github.repository uses: GoogleCloudPlatform/functions-framework-conformance/.github/workflows/buildpack-integration-test.yml@main with: http-builder-source: 'testdata/conformance/nondeclarative'