fix: actions-runner stopped working

This commit is contained in:
Christoph Hollizeck 2025-09-11 00:13:57 +02:00
parent 301c022ca4
commit d29f467bc6
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -3,20 +3,15 @@ on:
- cron: 0 */6 * * *
jobs:
UpdateFlake:
runs-on: native
updateflake:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Update flake
run: |
cd ${{ gitea.workspace }}
- run: |
cd ${{ env.FORGEJO_WORKSPACE }}
nix flake update
- name: Commit new Flake.lock
run: |
- 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
- run: git push