0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/.github/workflows/auto-assign.yml
Daniel Lockyer d897942af7
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
2021-09-08 10:12:31 +01:00

15 lines
343 B
YAML

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 }}