add updater ci
This commit is contained in:
parent
61aeaa56c3
commit
ad2539c4ac
1 changed files with 27 additions and 0 deletions
27
.forgejo/workflows/update.yml
Normal file
27
.forgejo/workflows/update.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Updater
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 7 * * *'
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
update_flake:
|
||||
runs-on: ubuntu-node
|
||||
steps:
|
||||
- name: Set up git
|
||||
run: |
|
||||
git config --global user.email "actions[bot]"
|
||||
git config --global user.name "actions[bot]"
|
||||
git config --global http.sslVerify "false"
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||
- name: Update flake.lock
|
||||
uses: https://github.com/DeterminateSystems/update-flake-lock@main
|
||||
with:
|
||||
pr-title: "Update flake.lock" # Title of PR to be created
|
||||
pr-labels: | # Labels to be set on the PR
|
||||
dependencies
|
||||
automated
|
||||
Loading…
Reference in a new issue