Fixed addToProject action for pull requests
Changed execution context to base repo for pull request events. This makes use of the access token configured in the target repo.
@@ -4,7 +4,7 @@ name: Auto Assign to Project(s)
on:
issues:
types: [opened, edited, milestoned]
- pull_request:
+ pull_request_target:
types: [opened, edited, milestoned]
env:
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}
