From a53f5576c5b58959ac9806c465ac66aacf2170ed Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Tue, 17 Oct 2023 10:27:36 +1100 Subject: [PATCH] Auto-merge dependabot PR (#351) --- .github/workflows/merge.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/merge.yaml diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml new file mode 100644 index 0000000000..b071d74f6f --- /dev/null +++ b/.github/workflows/merge.yaml @@ -0,0 +1,13 @@ +name: merge +on: pull_request +permissions: + contents: write + pull-requests: write +jobs: + dependabot: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}