feat: auto updates
This commit is contained in:
parent
c4392601b1
commit
db509ffa8a
2
.github/workflows/check.yaml
vendored
2
.github/workflows/check.yaml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, edited]
|
types: [opened, reopened, edited, auto_merge_enabled]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
13
.github/workflows/update.yaml
vendored
13
.github/workflows/update.yaml
vendored
@ -5,6 +5,10 @@ on:
|
|||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -35,5 +39,10 @@ jobs:
|
|||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
delete-branch: true
|
title: update
|
||||||
title: Bump deps
|
body: automatic update
|
||||||
|
|
||||||
|
- name: Enable Automerge
|
||||||
|
run: gh pr merge --merge --auto "1"
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.PAT }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user