Compare commits

..

2 commits

View file

@ -1,21 +1,22 @@
on: on:
push:
branches:
- main
schedule: schedule:
- cron: 0 */6 * * * - cron: 0 */6 * * *
jobs: jobs:
updateflake: UpdateFlake:
runs-on: native runs-on: native
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: | - name: Update flake
run: |
cd ${{ env.FORGEJO_WORKSPACE }} cd ${{ env.FORGEJO_WORKSPACE }}
nix flake update nix flake update
- run: | - name: Commit new Flake.lock
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"
- run: git push - name: Push changes
run: git push