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 * * * - cron: 0 */6 * * *
jobs: jobs:
UpdateFlake: updateflake:
runs-on: native
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Update flake - run: |
run: | cd ${{ env.FORGEJO_WORKSPACE }}
cd ${{ gitea.workspace }}
nix flake update nix flake update
- name: Commit new Flake.lock - run: |
run: |
git config --local user.email "christoph.hollizeck@hey.com" git config --local user.email "christoph.hollizeck@hey.com"
git config --local user.name "forgjo-actions[bot]" git config --local user.name "forgjo-actions[bot]"
git commit -a -m "chore: update flake" git commit -a -m "chore: update flake"
- name: Push changes - run: git push
run: git push