2024-05-13 07:28:32 -05:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v4
|
2024-12-11 20:59:16 -06:00
|
|
|
with:
|
|
|
|
persist-credentials: false
|
2024-05-13 07:28:32 -05:00
|
|
|
- name: Install Nix
|
|
|
|
uses: DeterminateSystems/nix-installer-action@main
|
|
|
|
- name: Update flake.lock
|
|
|
|
uses: DeterminateSystems/update-flake-lock@main
|
|
|
|
with:
|
2024-06-02 12:25:05 -05:00
|
|
|
token: ${{CI_CREATE_PR_TOKEN}}
|
2024-05-13 07:28:32 -05:00
|
|
|
pr-title: "Update flake.lock" # Title of PR to be created
|
|
|
|
pr-labels: | # Labels to be set on the PR
|
|
|
|
dependencies
|
2024-06-02 12:25:05 -05:00
|
|
|
automated
|