diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml new file mode 100644 index 0000000..165f810 --- /dev/null +++ b/.github/workflows/dependabot-auto-merge.yml @@ -0,0 +1,26 @@ +name: Auto merge Dependabot updates + +on: + check_suite: + types: + - completed + pull_request: + types: + - edited + - labeled + - opened + - ready_for_review + - reopened + - synchronize + - unlabeled + - unlocked + +jobs: + auto-merge: + name: Auto merge + runs-on: ubuntu-latest + steps: + - name: Auto merge + uses: ridedott/dependabot-auto-merge-action@master + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5cb4144..06ea8ee 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,3 +20,17 @@ jobs: run: go build -v . - name: Test run: go test -v -race . + + auto-merge: + name: Auto merge + runs-on: ubuntu-latest + needs: + - all + - other + - required + - jobs + steps: + - name: Auto merge + uses: ridedott/dependabot-auto-merge-action@master + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}