From efbf9666b8471c8049bb0c95e6f4632dd0f2508b Mon Sep 17 00:00:00 2001 From: Preston Date: Mon, 16 Aug 2021 15:45:09 -0400 Subject: [PATCH] Create autoMergePR.yml --- .github/workflows/autoMergePR.yml | 39 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/autoMergePR.yml diff --git a/.github/workflows/autoMergePR.yml b/.github/workflows/autoMergePR.yml new file mode 100644 index 00000000..7f19f3c5 --- /dev/null +++ b/.github/workflows/autoMergePR.yml @@ -0,0 +1,39 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the development branch + push: {} # update PR when base branch is updated + status: {} # try to merge when other checks are completed + pull_request_review: # try to merge after review + types: + - submitted + - edited + - dismissed + pull_request: # try to merge if labels have changed (white/black list) + types: + - labeled + - unlabeled + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + 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: + # 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 }} + method: squash