vsoch / pull-request-action

open a pull request when a branch is pushed or updated
https://github.com/marketplace/actions/pull-request-action
MIT License
174 stars 62 forks source link

Add/assignees #23

Closed vsoch closed 4 years ago

vsoch commented 4 years ago

This pull request will add an ability to assign someone to a pull request to address #19. An example recipe is provided in the examples folder, shown running here to open the pull request here. This will close #19. A basic example to test this branch:

name: Pull Request on Branch Push
on: [push]
jobs:
  auto-pull-request:
    name: PullRequestAction
    runs-on: ubuntu-latest
    steps:
      - name: pull-request-action
        uses: vsoch/pull-request-action@add/assignees
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          BRANCH_PREFIX: "update/"
          PULL_REQUEST_BRANCH: "master"
          PULL_REQUEST_ASSIGNEES: vsoch
satishjuvo88 commented 4 years ago

It works as expected! perhaps we can add reviewers next time

vsoch commented 4 years ago

Great! I just resolved conflicts and I'm going to merge. I can take a look at adding reviewers, I'll pick up conversation in the open issue.