From 8ccb417653e7995f2cca029681ace31d19dcdc2c Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Fri, 29 Jan 2021 14:59:50 +1100 Subject: [PATCH 1/2] add automerge workflow --- .github/workflows/automerge.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/automerge.yml diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000..557e1e0 --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,11 @@ +name: Check PR ok to automerge +on: pull_request + jobs: + perform-check: + runs-on: ubuntu-latest + steps: + - name: Check Pull Request + uses: actions/can-pr-be-automerged-action@v1.0 + with: + required_label: 'automerge' + required_user: 'hughrun' \ No newline at end of file From bb9429a22a58b767e312c41b06b0c2418717bafd Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Fri, 29 Jan 2021 15:02:16 +1100 Subject: [PATCH 2/2] fix syntax --- .github/workflows/automerge.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 557e1e0..c79e3db 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,11 +1,13 @@ name: Check PR ok to automerge + on: pull_request - jobs: - perform-check: - runs-on: ubuntu-latest - steps: - - name: Check Pull Request - uses: actions/can-pr-be-automerged-action@v1.0 - with: - required_label: 'automerge' - required_user: 'hughrun' \ No newline at end of file + +jobs: + perform-check: + runs-on: ubuntu-latest + steps: + - name: Check Pull Request + uses: actions/can-pr-be-automerged-action@v1.0 + with: + required_label: 'automerge' + required_user: 'hughrun' \ No newline at end of file