Files
server-config/.github/workflows/flake-update.yml
T
Floweynt 6ba18264ac
flake-check / flake-check (pull_request) Successful in 51s
lint / lint (pull_request) Successful in 1m47s
diff-pr / dix (pull_request) Successful in 6m25s
fix again
2026-09-13 11:55:32 -05:00

25 lines
596 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.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