Skip to content

Commit

Permalink
ci: Add reviewers CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Oct 9, 2024
1 parent c89380d commit 2980bcd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Review Assign

on:
pull_request:
types: [opened, ready_for_review]

jobs:
assign:
runs-on: ubuntu-latest
steps:
- uses: garnertb/get-team-members@v1
with:
org: 'OpenSourcePolitics'
team_slug: 'reviewers'
token: ${{ secrets.GITHUB_TOKEN }}

- run: "echo ${{ steps.get-members.outputs.members }}"
shell: bash

- uses: hkusu/review-assign-action@v1
with:
assignees: ${{ github.actor }}
reviewers: ${{ steps.get-members.outputs.members }}

0 comments on commit 2980bcd

Please sign in to comment.