mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2025-07-01 19:03:49 +03:00
Update update-flake-lock
This commit is contained in:
parent
10cfb1c664
commit
aa3e38eebd
1 changed files with 15 additions and 15 deletions
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:
|
||||
workflow_dispatch:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
schedule:
|
||||
- cron: "0 0 * * 0"
|
||||
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
||||
|
||||
jobs:
|
||||
lockfile:
|
||||
runs-on: ubuntu-latest
|
||||
nix-flake-update:
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Determinate Nix
|
||||
uses: DeterminateSystems/determinate-nix-action@v3
|
||||
- name: Enable FlakeHub Cache
|
||||
uses: DeterminateSystems/flakehub-cache-action@main
|
||||
- name: Update flake.lock
|
||||
uses: ./.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/determinate-nix-action@v3
|
||||
- uses: DeterminateSystems/update-flake-lock@main
|
||||
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…
Add table
Add a link
Reference in a new issue