[actions] add auto-update workflow
This commit is contained in:
21
.gitea/workflows/update-flake-lock.yml
Normal file
21
.gitea/workflows/update-flake-lock.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: "Update flakes"
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '38 0 * * 0,4'
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
jobs:
|
||||
createPullRequest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v30
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v24
|
||||
with:
|
||||
pr-labels: | # Labels to be set on the PR
|
||||
merge-queue
|
||||
Reference in New Issue
Block a user