Skip to content

0xtekgrinder/codefacilitators

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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