mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
ci: add auto merge workflow for flake updates
This commit is contained in:
parent
bd278cbe06
commit
2c44cdf4b6
2 changed files with 22 additions and 1 deletions
21
.github/workflows/auto-merge.yml
vendored
Normal file
21
.github/workflows/auto-merge.yml
vendored
Normal 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
|
2
.github/workflows/lock.yml
vendored
2
.github/workflows/lock.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue