Skip to content

Commit

Permalink
Updated PR actions for adding to project be pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
kgodey committed Jan 10, 2022
1 parent 5908c50 commit e90460b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Add new issues and PRs to project
on:
issues:
types: [opened]
pull_request:
pull_request_target:
types: [opened]

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
pip install -r requirements.txt
- name: Add PR to project
if: ${{ github.event_name == 'pull_request' }}
if: ${{ github.event_name == 'pull_request_target' }}
env:
MATHESAR_ORG_GITHUB_TOKEN: ${{secrets.MATHESAR_ORG_GITHUB_TOKEN}}
run: |
Expand Down

0 comments on commit e90460b

Please sign in to comment.