forgejo-runner: update flake nightly

This commit is contained in:
Christoph Hollizeck 2025-04-29 10:21:18 +02:00
parent dad4d8b227
commit 002e91199b
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 36 additions and 43 deletions

View file

@ -0,0 +1,22 @@
on:
schedule:
- cron: 0 3 * * *
jobs:
UpdateFlake:
runs-on: native
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Update flake
run: |
cd ${{ gitea.workspace }}
nix flake update
- name: Commit new Flake.lock
run: |
git config --local user.email "christoph.hollizeck@hey.com"
git config --local user.name "forgjo-actions[bot]"
git commit -a -m "chore: update flake"
- name: Push changes
run: git push