2021-08-20 01:18:15 +00:00
|
|
|
name: Auto Merge PR
|
2021-08-19 21:28:39 +00:00
|
|
|
|
|
|
|
# Controls when the workflow will run
|
|
|
|
on:
|
2021-08-20 01:18:15 +00:00
|
|
|
# Triggers the workflow on push or pull request events but only for the development branch
|
2021-08-19 21:28:39 +00:00
|
|
|
pull_request_review: # try to merge after review
|
|
|
|
types:
|
|
|
|
- submitted
|
|
|
|
- edited
|
|
|
|
- dismissed
|
|
|
|
|
2021-08-20 01:18:15 +00:00
|
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
2021-08-19 21:28:39 +00:00
|
|
|
jobs:
|
2021-08-20 01:18:15 +00:00
|
|
|
# This workflow contains a single job called "build"
|
2021-08-19 21:28:39 +00:00
|
|
|
build:
|
|
|
|
# The type of runner that the job will run on
|
2021-08-20 01:18:15 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2021-08-19 21:28:39 +00:00
|
|
|
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
|
|
steps:
|
2021-08-20 01:18:15 +00:00
|
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Merge Pal
|
|
|
|
# You may pin to the exact commit or the version.
|
|
|
|
# uses: maxkomarychev/merge-pal-action@7a3bca37e260865d9e9a259212c1d13ef4da7f41
|
|
|
|
uses: maxkomarychev/merge-pal-action@v0.5.1
|
|
|
|
with:
|
|
|
|
# Token to perform api calls
|
|
|
|
token: ${{ secrets.PUSH_TOKEN }}
|