feat: auto updates

This commit is contained in:
trev 2025-05-14 05:00:06 -04:00
parent c4392601b1
commit db509ffa8a
2 changed files with 12 additions and 3 deletions

View File

@ -5,7 +5,7 @@ on:
branches:
- main
pull_request:
types: [opened, reopened, edited]
types: [opened, reopened, edited, auto_merge_enabled]
jobs:
check:

View File

@ -5,6 +5,10 @@ on:
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update:
runs-on: ubuntu-latest
@ -35,5 +39,10 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
delete-branch: true
title: Bump deps
title: update
body: automatic update
- name: Enable Automerge
run: gh pr merge --merge --auto "1"
env:
GH_TOKEN: ${{ secrets.PAT }}