Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CodelyTV/request-review-by-path

Open more actions menu

Repository files navigation

👤 Request Review Pull Request by modified path

codely.tv CodelyTV Courses GitHub Action version

Assign Pull Requests to your GitHub teams or individual users based on the paths of the modified files

🚀 Usage

☝️ Create a file named assign-by-path.yml inside the .github/workflows directory and paste:

name: assign-by-path

on: [push]

jobs:
  assigner:
    runs-on: ubuntu-latest
    name: 👤 Assign by path
    steps:
      - uses: codelytv/assign-by-path@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        mapping: |
          rgomezcasas: ["src"]
          javiercane: ["src", "dist"]
          barackObama: ["node_modules"]
          CodelyTV/staff: ["src"]

💡 Use case examples

You can combine this action with others such as:

  • Notify to the Slack channel #mooc-team when a PR has been assigned to the mooc GitHub team
  • Send an email to mooc-team+notifications@example.com when a PR has been assigned to the mooc GitHub team
  • You name it! Composition over Inheritance FTW! 😊

⚖️ License

MIT

About

👤 GitHub Action: Assign Pull Requests to your GitHub teams or individual users based on the paths of the modified files

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.