1
0
Fork 0
mirror of https://github.com/imjasonh/govulncheck-action synced 2026-07-18 22:56:04 +00:00

Add Dependabot auto-merge workflow

This workflow automatically enables auto-merge for pull requests created by Dependabot, using squash merge strategy to maintain a clean commit history.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jason Hall 2025-07-30 15:34:22 -04:00
parent 294e12fa6f
commit 84fba33b7b
Failed to extract signature

View file

@ -0,0 +1,18 @@
name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
steps:
- name: Enable auto-merge for Dependabot PRs
if: github.actor == 'dependabot[bot]'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}