Skip to content

juliangruber/update-pull-request-branch-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

update-pull-request-branch-action

Update a Pull Request from its base branch.

Optionally waits until the branch has been successfully updated, as the REST api route doesn't.

Usage

To update a single pull request and wait until it's complete:

steps:
  - name: Update Pull Request
    uses: juliangruber/update-pull-request-branch-action@v1
    with:
      number: 1
      github_token: ${{ secrets.GITHUB_TOKEN }}

To update all open pull requests without waiting:

steps:
  - name: Update All Pull Requests
    uses: juliangruber/update-pull-request-branch-action@v1
    with:
      waitForPullRequestUpdated: false
      github_token: ${{ secrets.GITHUB_TOKEN }}

License

MIT