Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/dependabot-auto-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Dependabot Auto Merge
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Actions only loads workflows in .github/workflows when the filename ends with .yml or .yaml. As-is, this file (dependabot-auto-merge with no extension) will not run; rename it to something like dependabot-auto-merge.yml.

Copilot uses AI. Check for mistakes.

on:
pull_request_target:

permissions:
pull-requests: write
contents: write

jobs:
dependabot-auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Approve PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr review "${{ github.event.pull_request.number }}" --approve

- name: Enable auto-merge (squash)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge "${{ github.event.pull_request.number }}" --auto --squash
Loading