Skip to content

Commit

Permalink
use pull_request_target in reviewer lottery (#10388)
Browse files Browse the repository at this point in the history
  • Loading branch information
megan07 authored Oct 27, 2021
1 parent 2253c22 commit e427812
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pull-request-reviewer.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: "Pull Request Reviewer"
on:
pull_request:
pull_request_target:
types: [opened, ready_for_review, reopened]

permissions:
contents: read
pull-requests: write

jobs:
test:
if: ${{ github.actor != 'modular-magician' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- uses: uesteibar/reviewer-lottery@5e584a0455eb063a623b7fd949f006fc7dbcf8bf
- uses: actions/checkout@v2
- uses: uesteibar/reviewer-lottery@5531ef7fe55d814c8f8fbab12de4ff74d15b41ed
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e427812

Please sign in to comment.