Action to create a pull request automatically.
name: Create Pull Request
on:
push:
branches-ignore:
- master
jobs:
creating-PR:
name: Create Pull Request
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Creating Pull Request
uses: heitorpolidoro/autocreate-pr@v1
env:
<user>: ${{ secrets.<USER_PERSONAL_ACCESS_TOKEN> }}
To enable a user to automatically creates a Pull Request set an ENV
with the GitHub username passing the user Personal Access Token.