Merge pull request #1645 from btat/workflow-fix

Use pull_request_target in workflow as PRs are from forks
This commit is contained in:
Billy Tat
2025-02-13 15:08:43 -08:00
committed by GitHub
+3 -3
View File
@@ -1,7 +1,7 @@
name: Create issue to port to Product docs name: Create issue to track porting between Community and Product docs
on: on:
pull_request: pull_request_target:
types: types:
- closed - closed
branches: branches:
@@ -18,7 +18,7 @@ jobs:
if: github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'port/community-product') if: github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'port/community-product')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Create issue to track porting between Community and Product docs - name: Create issue
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
run: | run: |