Files
server-config/.github/workflows/flake-update.yml
T
floweyandFloweynt 95cd7d0457
diff-tag / dix (push) Failing after 13m28s
lint / lint (push) Failing after 2m2s
flake-check / flake-check (push) Successful in 48s
ci: fix flake update (#8)
Co-authored-by: Floweynt <50057682+Floweynt@users.noreply.github.com>
Reviewed-on: #8
2026-09-17 05:20:21 +00:00

27 lines
647 B
YAML

name: flake-update
on:
schedule:
- cron: "17 4 * * *"
workflow_dispatch:
jobs:
update:
runs-on: nix
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- run: nix flake update -L
- name: open/update PR
env:
GH_TOKEN: ${{ secrets.BOT_TOKEN }}
API: ${{ github.api_url }}
REPO: ${{ github.repository }}
run: |
printf 'Automated `nix flake update`.\n' > "$RUNNER_TEMP/body.md"
nix run -L .#ci -- open-pr \
flake-update "$GITHUB_REF_NAME" "flake.lock: update inputs" "$RUNNER_TEMP/body.md" automated