Don't poll the cloud for a confident answer if the client wants only edge answers #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Auto assign random reviewers to Dependabot PRs | |
name: auto-assign | |
on: | |
pull_request_target: | |
types: [opened, ready_for_review, reopened] | |
workflow_dispatch: | |
jobs: | |
assign-pr-reviewer: | |
# Only run this on Dependabot PRs | |
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout code | |
- uses: uesteibar/reviewer-lottery@v3 | |
name: randomly assign reviewer | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |