https://github.com/leavittsoftware/auto-pr-assign
https://github.com/leavittsoftware/auto-pr-assign
hacktoberfest
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/leavittsoftware/auto-pr-assign
- Owner: LeavittSoftware
- License: gpl-3.0
- Created: 2021-08-17T21:40:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T22:21:13.000Z (almost 5 years ago)
- Last Synced: 2025-01-17T01:08:30.791Z (over 1 year ago)
- Topics: hacktoberfest
- Language: JavaScript
- Homepage:
- Size: 281 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @delivery-much/actions-assigner
Auto assign all team members to a PR
## Inputs
| Name | Description | Example |
| ------------------ | --------------------------------------------------------------------------- | ------- |
| `token` | **Required** A `repo` scoped personal access token. ${{ secrets.GH_TOKEN }} |
| `org` | GitHub org |
| `production-teams` | Slugs of active production teams, separated by comma | backend |
## Example workflow
- Create a file `pull-request.yml` in `.github/workflows/` directory with the following content:
```yaml
name: pull-request
on:
pull_request:
types: [opened, reopened]
jobs:
assign:
runs-on: ubuntu-latest
steps:
- uses: LeavittSoftware/auto-pr-assign@master
with:
token: ${{ secrets.GH_TOKEN }}
org: myOrg
production-teams: "TeamA,TeamB"
```