Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update Flake Lock

on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'

jobs:
update-flake-lock:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- name: Install Nix
uses: ./.github/actions/nix-install-ephemeral

- name: Generate GitHub App Token
id: app-token
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
with:
app-id: ${{ secrets.FLAKE_UPDATE_APP_ID }}
private-key: ${{ secrets.FLAKE_UPDATE_PRIVATE_KEY }}

- name: Update flake.lock
uses: Mic92/update-flake-inputs@73cb58f118541b956f5a061d12838ef1dd997867 # v1.0.3
with:
github-token: ${{ steps.app-token.outputs.token }}
pr-labels: |
dependencies
automated
Loading