From 5681c35c035009d69d6e91265512a3593e9e1236 Mon Sep 17 00:00:00 2001 From: Adam Cervenka Date: Wed, 12 Jul 2023 12:57:36 +0200 Subject: [PATCH] abris #329 use pull_request_target to fix PRs from forks --- .github/workflows/build-scala2.12-spark3.2.yml | 2 +- .github/workflows/build-scala2.13-spark3.2.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-scala2.12-spark3.2.yml b/.github/workflows/build-scala2.12-spark3.2.yml index f8b12f6..70029ab 100644 --- a/.github/workflows/build-scala2.12-spark3.2.yml +++ b/.github/workflows/build-scala2.12-spark3.2.yml @@ -3,7 +3,7 @@ name: Build Scala 2.12, Spark 3.2 on: push: branches: [ master ] - pull_request: + pull_request_target: branches: [ master ] jobs: diff --git a/.github/workflows/build-scala2.13-spark3.2.yml b/.github/workflows/build-scala2.13-spark3.2.yml index e957ad3..82a6d91 100644 --- a/.github/workflows/build-scala2.13-spark3.2.yml +++ b/.github/workflows/build-scala2.13-spark3.2.yml @@ -3,7 +3,7 @@ name: Build Scala 2.13, Spark 3.2 on: push: branches: [ master ] - pull_request: + pull_request_target: branches: [ master ] jobs: