freetube/.github/workflows/autoMergePR.yml

26 lines
716 B
YAML
Raw Normal View History

2021-08-19 21:28:39 +00:00
name: Auto Merge PR
# Controls when the workflow will run
on:
pull_request_review: # try to merge after review
types:
- submitted
- edited
- dismissed
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Auto-Merge Pull Request
# You may pin to the exact commit or the version.
# uses: reitermarkus/automerge@72bc1353d0a084c84034be23424b124d900d1658
2021-08-19 21:33:23 +00:00
uses: reitermarkus/automerge@v2
2021-08-19 21:28:39 +00:00
with:
2021-08-19 21:33:23 +00:00
token: ${{ secrets.PUSH_TOKEN }}
merge-method: squash
pull-request: ${{ github.event.inputs.pull-request }}