diff --git a/.github/workflows/enable-automerge.yml b/.github/workflows/enable-automerge.yml new file mode 100644 index 0000000..4622adf --- /dev/null +++ b/.github/workflows/enable-automerge.yml @@ -0,0 +1,16 @@ +name: Enable Automerge + +on: + pull_request_target: + types: [edited, labeled, synchronize] + +jobs: + enable-automerge: + if: contains(github.event.pull_request.labels.*.name, 'automerge') + runs-on: ubuntu-latest + + steps: + - name: Enable Automerge + uses: Workday/canvas-kit-actions/enable-automerge@v1 + with: + token: ${{ secrets.GH_RW_TOKEN }}