2024-11-29 03:02:16 +01:00
|
|
|
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
|
2024-12-13 13:08:12 +01:00
|
|
|
token: ${{ secrets.FORGEJO_TOKEN_FOR_UPDATES }}
|
2024-11-29 03:02:16 +01:00
|
|
|
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 }}.
|