Compare commits

..

No commits in common. "c115b81c5966cf66f64f8698b9dc9a64dec6a657" and "428c2b58a4b7414dabd372acb6a03dba1084d3ab" have entirely different histories.

View file

@ -11,7 +11,7 @@ This is a GitHub Action that updates the [`flake.lock`][lockfile] file for your
Here's an example GitHub Action workflow using this Action: Here's an example GitHub Action workflow using this Action:
```yaml ```yaml
name: "Flake.lock: update Nix dependencies" name: update-flake-lock
on: on:
workflow_dispatch: # allows manual triggering workflow_dispatch: # allows manual triggering
@ -19,19 +19,17 @@ on:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
jobs: jobs:
nix-flake-update: lockfile:
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
- uses: DeterminateSystems/determinate-nix-action@v3 uses: actions/checkout@v4
- uses: DeterminateSystems/update-flake-lock@main - name: Install Determinate Nix
uses: DeterminateSystems/determinate-nix-action@v3
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with: with:
pr-title: "Update Nix flake inputs" # Title of PR to be created pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR pr-labels: | # Labels to be set on the PR
dependencies dependencies
automated automated