Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use pull_request_target in reviewer lottery #10388

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}