21 lines
506 B
YAML
21 lines
506 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
schedule:
|
|
- cron: 0 */6 * * *
|
|
|
|
jobs:
|
|
updateflake:
|
|
runs-on: native
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- run: |
|
|
cd ${{ env.FORGEJO_WORKSPACE }}
|
|
nix flake update
|
|
- 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"
|
|
- run: git push
|