From 6e55c3c8d635f2358013130d9995dcd744bee9d0 Mon Sep 17 00:00:00 2001 From: Harish Natarajan Date: Mon, 11 Dec 2023 11:47:46 +0000 Subject: [PATCH] [NXW-119] Auto-merge dependabot prs (#263) --- .github/workflows/dependabot.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 0000000..f3ab0ac --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,19 @@ +name: Dependabot auto-merge +on: + workflow_run: + types: + - completed + workflows: + - 'CI' + +jobs: + dependabot: + runs-on: ubuntu-latest + if: ${{ github.actor == 'dependabot[bot]' }} + steps: + - name: Merge the PR + if: ${{ github.event.workflow_run.conclusion == 'success' }} + uses: ridedott/merge-me-action@v2 + with: + GITHUB_TOKEN: ${{ secrets.NITRO_ROBOT_COMMIT_TOKEN }} + PRESET: DEPENDABOT_MINOR