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

ci: Github action pour automatiquement remplir les reviewers d'une PR #1265

Merged
merged 4 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
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
18 changes: 18 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: false

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers: # gip-inclusion/admins-le-marche
- madjid-asa
- raphodn
- SebastienReuiller

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0

# Set addAssignees to 'author' to set the PR creator as the assignee.
addAssignees: author
14 changes: 0 additions & 14 deletions .github/workflows/pr-auto-author-assign.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/workflows/pr-auto-reviewers-and-assignee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: PR Auto Reviewers (team) & Assignee (author)

on:
pull_request:
types: [opened, ready_for_review, reopened] # will not run on drafts

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
Loading