From 09f88f624a9977c5838bc715a0bebfd0c8ab45b6 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Wed, 31 Jul 2024 14:58:09 +0200 Subject: [PATCH] TRY Fixing the workflow for outside collaborators. --- .github/workflows/playground-preview.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playground-preview.yml b/.github/workflows/playground-preview.yml index 541419ec8..a8c90dc41 100644 --- a/.github/workflows/playground-preview.yml +++ b/.github/workflows/playground-preview.yml @@ -6,9 +6,10 @@ name: Playground Preview # Inspired by, but not based on https://github.com/WordPress/gutenberg/blob/b89fb7b6eaf619bde0269e2a7fbf6245822f6cbf/.github/workflows/build-plugin-zip.yml#L153 on: - pull_request: + pull_request_target: types: [opened, synchronize] paths: + - '.github/workflows/playground-preview.yml' - 'build/**' - 'includes/**' - 'languages/**' @@ -28,8 +29,8 @@ concurrency: # Permission can be added at job level or workflow level # # IS THIS STILL NEEDED ??? -permissions: - pull-requests: write +# permissions: +# pull-requests: write jobs: