Update Nix Flake Inputs #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update Nix Flake Inputs" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 10 * * 0" # https://crontab.guru/#0_10_*_*_0 | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v20 | |
- name: Update flake inputs | |
id: update | |
uses: DeterminateSystems/update-flake-lock@v19 | |
with: | |
sign-commits: true | |
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | |
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
gpg-fingerprint: ${{ secrets.GPG_FINGERPRINT }} | |
pr-title: "chore: update flake.lock" | |
commit-msg: "chore: update flake.lock" | |
pr-labels: | | |
dependencies | |
automated | |
auto-merge | |
- name: Print PR number | |
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}. |