Skip to content

Don't run reviewer lottery from bots (#397) #223

Don't run reviewer lottery from bots (#397)

Don't run reviewer lottery from bots (#397) #223

name: Reviewer lottery
on:
pull_request_target:
types: [opened, ready_for_review, reopened]
jobs:
test:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'mergify[bot]' }}
steps:
<<<<<<< HEAD

Check failure on line 11 in .github/workflows/reviewer_lottery.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reviewer_lottery.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
- uses: actions/checkout@v3
- uses: uesteibar/reviewer-lottery@v2
=======
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
echo "The GitHub Actor's username is: $GITHUB_ACTOR"
- uses: actions/checkout@v4
- uses: uesteibar/reviewer-lottery@v3
>>>>>>> 159e89b (Don't run reviewer lottery from bots (#397))
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}