Create lock.yml
This commit is contained in:
parent
b411001d76
commit
5e9c4cefa8
1 changed files with 24 additions and 0 deletions
24
.github/workflows/lock.yml
vendored
Normal file
24
.github/workflows/lock.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: update-flake-lock
|
||||
on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
schedule:
|
||||
# Runs weekly at 00:00 UTC on Sunday
|
||||
- cron: "0 0 * * 0"
|
||||
jobs:
|
||||
lockfile:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
with:
|
||||
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@main
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||
pr-title: "deps(flake.lock): update"
|
||||
pr-labels: |
|
||||
dependencies,auto-merge
|
||||
pr-assignees: youwen5
|
Loading…
Add table
Add a link
Reference in a new issue