From 56396b8cdbf15d1891ed42ddbc681311c3307149 Mon Sep 17 00:00:00 2001 From: Anmol Nagpal Date: Thu, 30 Nov 2023 02:05:53 +0530 Subject: [PATCH] feat: created workflow for automerge and approve --- .github/workflows/auto-merge.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/auto-merge.yml diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 0000000..d80821c --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,17 @@ +name: Dependabot auto-merge +on: + pull_request: + check_run: + types: + - completed +permissions: + contents: write + pull-requests: write +jobs: + dependabot: + if: github.actor == 'dependabot[bot]' + uses: clouddrove/github-shared-workflows/.github/workflows/auto-merge.yml@feat/auto-merge + secrets: + GITHUB: ${{secrets.GITHUB_TOKEN}} + with: + PR_URL: ${{github.event.pull_request.html_url}}