Update autoMerge.yml
This commit is contained in:
parent
5afdc42252
commit
385ae4ab70
|
@ -1,23 +1,30 @@
|
||||||
name: Auto Merge Pull Request
|
name: Auto Merge PR
|
||||||
|
|
||||||
# Controls when the workflow will run
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
|
# Triggers the workflow on push or pull request events but only for the development branch
|
||||||
pull_request_review: # try to merge after review
|
pull_request_review: # try to merge after review
|
||||||
types:
|
types:
|
||||||
- submitted
|
- submitted
|
||||||
- edited
|
- edited
|
||||||
- dismissed
|
- dismissed
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
|
# This workflow contains a single job called "build"
|
||||||
build:
|
build:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
- name: Auto-Merge Pull Request
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
# You may pin to the exact commit or the version.
|
- uses: actions/checkout@v2
|
||||||
# uses: reitermarkus/automerge@72bc1353d0a084c84034be23424b124d900d1658
|
|
||||||
uses: reitermarkus/automerge@72bc1353d0a084c84034be23424b124d900d1658
|
- name: Merge Pal
|
||||||
with:
|
# You may pin to the exact commit or the version.
|
||||||
token: ${{ secrets.PUSH_TOKEN }}
|
# uses: maxkomarychev/merge-pal-action@7a3bca37e260865d9e9a259212c1d13ef4da7f41
|
||||||
|
uses: maxkomarychev/merge-pal-action@v0.5.1
|
||||||
|
with:
|
||||||
|
# Token to perform api calls
|
||||||
|
token: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue