add new workflow to do flake updates

This commit is contained in:
Jörg Thalheim
2025-07-14 17:01:07 +02:00
parent e05f4380d4
commit a509e16627

View File

@@ -0,0 +1,30 @@
name: Update Flake Inputs
on:
schedule:
# Run weekly on Sunday at 4:00 AM UTC
- cron: "0 4 * * 0"
workflow_dispatch:
repository_dispatch:
jobs:
update-flake-inputs:
runs-on: nix
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure git
run: |
git config --global user.email "clan-bot@clan.lol"
git config --global user.name "clan-bot"
- name: Update flake inputs
uses: Mic92/update-flake-inputs-gitea@main
env:
GITEA_URL: ${{ gitea.server_url }}
GITEA_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
GITEA_REPOSITORY: ${{ gitea.repository }}
# Exclude private flakes and update-clan-core checks flake
EXCLUDE_PATTERNS: "devFlake/private/flake.nix,checks/impure/flake.nix"