Update update-flake-lock
This commit is contained in:
parent
10cfb1c664
commit
aa3e38eebd
30
.github/workflows/update.yml
vendored
30
.github/workflows/update.yml
vendored
@ -1,24 +1,24 @@
|
|||||||
name: update-flake-lock
|
name: "Flake.lock: update Nix dependencies"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch: # allows manual triggering
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * 0"
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lockfile:
|
nix-flake-update:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
permissions:
|
||||||
|
contents: write
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
- uses: DeterminateSystems/determinate-nix-action@v3
|
||||||
- name: Install Determinate Nix
|
- uses: DeterminateSystems/update-flake-lock@main
|
||||||
uses: DeterminateSystems/determinate-nix-action@v3
|
|
||||||
- name: Enable FlakeHub Cache
|
|
||||||
uses: DeterminateSystems/flakehub-cache-action@main
|
|
||||||
- name: Update flake.lock
|
|
||||||
uses: ./.
|
|
||||||
with:
|
with:
|
||||||
_internal-strict-mode: true
|
pr-title: "Update Nix flake inputs" # Title of PR to be created
|
||||||
|
pr-labels: | # Labels to be set on the PR
|
||||||
|
dependencies
|
||||||
|
automated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user