Skip to content

Commit

Permalink
Don't run reviewer lottery from bots
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Dec 24, 2023
1 parent 2f47fa3 commit ce5bd9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/reviewer_lottery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && github.actor != 'mergify[bot]'
steps:
- 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
with:
Expand Down

0 comments on commit ce5bd9e

Please sign in to comment.