ci: add auto merge workflow for flake updates

This commit is contained in:
Youwen Wu 2025-05-05 11:26:17 -07:00
parent bd278cbe06
commit 2c44cdf4b6
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
2 changed files with 22 additions and 1 deletions

21
.github/workflows/auto-merge.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Auto Merge Dependency Updates
on:
- pull_request_target
jobs:
auto-merge-dependency-updates:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
concurrency:
group: "auto-merge:${{ github.head_ref }}"
cancel-in-progress: true
steps:
- uses: Mic92@auto-merge@master
with:
merge-method: rebase
approve: true
required-labels: dependencies,auto-merge
use-auto-merge: true

View file

@ -20,5 +20,5 @@ jobs:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-title: "build(lock): update" pr-title: "build(lock): update"
pr-labels: | pr-labels: |
lock dependencies,auto-merge
pr-assignees: youwen5 pr-assignees: youwen5