modulepackage
1.0.6
Repository: https://github.com/cam3ron2/pr-auto-assign.git
Documentation: pkg.go.dev
# README
PR Auto Assign
A Github action that will automatically assign a PR to its creator, and assign review to specified users, teams, or a combination of both.
Usage
name: Auto Assign
on: [pull_request]
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
jobs:
auto_assign:
name: Auto Assign PR
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- uses: cam3ron2/pr-auto-assign@latest
with:
reviewers: "MyOrg/some-people,myUsername,someOtherUser"
Required Enviroment Variables
- GITHUB_TOKEN: A Github personal access token that can update the assignee and reviewers of a PR.
Inputs
- reviewers: A comma separated list of users, teams, or both to assign as reviewers.
# Packages
Copyright © 2022 Cameron Larsen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.