Skip to content

Commit

Permalink
feat(ci): add update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Mar 25, 2024
1 parent 7896f8d commit df0a188
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 10 * * sat' # every Saturday at 10am

permissions:
contents: write
pull-requests: write

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@main
with:
pr-labels: dependencies
pr-assignees: MattSturgeon
- name: Print PR number
run: echo "Pull request \#${{ steps.update.outputs.pull-request-number }}."

0 comments on commit df0a188

Please sign in to comment.