Delete .github/workflows/dependabot-auto-merge.yml

This commit is contained in:
civisrom 2025-03-08 18:29:50 +03:00 committed by GitHub
parent ae6a87cba3
commit 0df9443890
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,27 +0,0 @@
name: Auto-merge Dependabot PRs
on:
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
pull-requests: write
contents: write
jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Auto-approve Dependabot PRs
if: github.actor == 'dependabot[bot]'
run: gh pr review --approve "$GITHUB_REF"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Merge Dependabot PRs
if: github.actor == 'dependabot[bot]'
run: gh pr merge --auto --squash "$GITHUB_REF"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}