mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
Added auto-assign workflow to pull requests
no issue - Renovate will open PRs to bump dependencies but these are unassigned - Renovate does have the ability to set assignees, but these are blanket assigns not based upon the package that is being upgraded - we want to assign them to the owners of the package that is being upgraded - I've created the `gh-auto-assign` GitHub CLI exntension which reads a `.github/AUTO_ASSIGN` file and assign PRs based upon the entries listed - this commit adds the initial `AUTO_ASSIGN` file and GitHub Actions workflow to trigger when a PR is opened
This commit is contained in:
parent
0bb14c115b
commit
d897942af7
3
.github/AUTO_ASSIGN
vendored
Normal file
3
.github/AUTO_ASSIGN
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
renovate/tryghost-kg-.* kevinansfield
|
||||
renovate/tryghost-members-.* allouis
|
||||
renovate/.* daniellockyer
|
15
.github/workflows/auto-assign.yml
vendored
Normal file
15
.github/workflows/auto-assign.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: Auto Assign
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened]
|
||||
jobs:
|
||||
automate:
|
||||
runs-on: ubuntu-18.04
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: gh extension install daniellockyer/gh-auto-assign
|
||||
- run: gh auto-assign
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user