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: Leverage CODEOWNERS file instead of workflow action for assigning reviewers #1465

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
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
# Add all members of the group ansible-avd-developers as reviewers on all PRs
* @aristanetworks/ansible-avd-developers
11 changes: 1 addition & 10 deletions .github/workflows/pull-request-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ jobs:
- uses: toshimaru/auto-author-assign@v1.2.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pr_reviewvers:
name: "Assign PR reviewer"
# https://github.com/shufo/auto-assign-reviewer-by-files
runs-on: ubuntu-latest
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: shufo/auto-assign-reviewer-by-files@v1.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml

###################################################
# Check Conventional Commit Syntax
###################################################
Expand Down