Skip to content

Commit

Permalink
PR Automation - must use pull_request_target
Browse files Browse the repository at this point in the history
Ony pull_request_target - use GITHUB_TOKEN with write access for PR from forked repository
  • Loading branch information
slawekjaranowski committed Dec 26, 2024
1 parent af501b1 commit 5d65a82
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pr-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@

name: PR Automation
on:
pull_request:
pull_request_target:
types:
- closed
- unlabeled
- demilestoned
pull_request_review:
types:
- submitted

jobs:
pr-automation:
Expand Down

0 comments on commit 5d65a82

Please sign in to comment.