Files
server-config/.github/workflows/flake-update.yml
T
Floweynt b8e5b1c4c4
flake-check / flake-check (pull_request) Successful in 52s
lint / lint (pull_request) Successful in 1m48s
diff-pr / dix (pull_request) Successful in 6m16s
fix flake update
2026-09-12 01:40:54 -05:00

25 lines
599 B
YAML

name: flake-update
on:
schedule:
- cron: "17 4 * * *"
workflow_dispatch:
jobs:
update:
runs-on: nix
steps:
- uses: actions/checkout@v4
- run: nix flake update -L
- name: open/update PR
env:
GH_TOKEN: ${{ secrets.GITHUB_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