From 74d66bb1037f2ad7f9cf2f9f3a7f4a82565d8fe9 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Thu, 13 Feb 2025 14:21:39 -0800 Subject: [PATCH] Use pull_request_target as PRs are from forks --- .github/workflows/create-issue.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-issue.yml b/.github/workflows/create-issue.yml index a525e5e8262..8782be3c627 100644 --- a/.github/workflows/create-issue.yml +++ b/.github/workflows/create-issue.yml @@ -1,7 +1,7 @@ -name: Create issue to port to Product docs +name: Create issue to track porting between Community and Product docs on: - pull_request: + pull_request_target: types: - closed branches: @@ -18,7 +18,7 @@ jobs: if: github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'port/community-product') runs-on: ubuntu-latest steps: - - name: Create issue to track porting between Community and Product docs + - name: Create issue env: GH_TOKEN: ${{ github.token }} run: |