Skip to content

Commit

Permalink
add flake update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbot95 committed Nov 18, 2023
1 parent 87f07d5 commit b2d9a6f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update-inputs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Update Flake Inputs ️❄️"
permissions:
contents: read
pull-requests: write
on:
workflow_dispatch:
schedule:
- cron: "0 10 * * 0" # https://crontab.guru/#0_10_*_*_0
jobs:
updateFlakeInputs:
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@v20
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
- name: Print PR number
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.

0 comments on commit b2d9a6f

Please sign in to comment.