nvim.nix/.github/workflows/update.yml
jiriks74 64564114ff
Some checks failed
Perform checks / formatting (push) Failing after 2s
Perform checks / nix_flake_check (push) Failing after 2s
Perform checks / nix_build (push) Failing after 2s
fix(ci/update): Rename secrets to represent source host
2024-12-13 13:08:12 +01:00

30 lines
997 B
YAML

name: Update `flake.lock`
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs:
update_lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Action cache for nix
uses: DeterminateSystems/magic-nix-cache-action@main
with:
fail-mode: true
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
# inputs: dzgui dzgui-testing # We'll see whether I want to limit the updates to dzgui
token: ${{ secrets.FORGEJO_TOKEN_FOR_UPDATES }}
pr-title: "Update flake.lock"
pr-assignees: jiriks74
pr-labels: |
flake.lock
automated
- name: Print PR number
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.