The workflow needs contents:write (push branch) and pull-requests:write (create PR) for peter-evans/create-pull-request to function. Fixes #2630 Co-Authored-By: DreadPirateRobertz <DreadPirateRobertz@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
615 B
YAML
26 lines
615 B
YAML
name: "Update flake.lock"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Weekly on Sunday at midnight UTC
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
update-flake-lock:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/determinate-nix-action@v3
|
|
- name: Update flake.lock
|
|
uses: DeterminateSystems/update-flake-lock@main
|
|
with:
|
|
pr-title: "chore(nix): update flake.lock"
|
|
pr-labels: |
|
|
dependencies
|
|
nix
|