Skip to content

Commit

Permalink
Merge pull request #1645 from btat/workflow-fix
Browse files Browse the repository at this point in the history
Use pull_request_target in workflow as PRs are from forks
  • Loading branch information
btat authored Feb 13, 2025
2 parents ab360c4 + 74d66bb commit bfaab32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-issue.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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: |
Expand Down

0 comments on commit bfaab32

Please sign in to comment.