Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 889 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 889 Bytes

CODEFACILITATORS

GitHub Action to assign PR reviewers based on CODEFACAILITATORS file in the repository.

This action replicated CODEOWNERS functionality but by only assigning reviewers to PR's.

📋 GitHub Action Inputs

file - the name of the file to read CODEFACILITATORS from (defaults to ./github/CODEFACILITATORS if not provided)

file: ./github/CODEFACILITATORS

token - the GitHub token to use for authentication

token: ${{ secrets.GITHUB_TOKEN }}

📋 Example YAML file configuration

name: "Assign Code Facilitators to PRs"

on:
  pull_request:
    types: [opened]

jobs:
  assign-code-facilitators:
    runs-on: ubuntu-latest
    steps:
    - name: "Assign Code Facilitators to PR"
      uses: 0xtekgrinder/codefacilitators@v1
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        file: ./github/CODEFACILITATORS