Skip to content

Commit

Permalink
ci: set GHA for updating flake.lock (#1232)
Browse files Browse the repository at this point in the history
Co-authored-by: eitsupi <50911393+eitsupi@users.noreply.github.com>
  • Loading branch information
detroyejr and eitsupi authored Sep 16, 2024
1 parent 188ff5b commit c417c32
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 15 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
permissions:
contents: write

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v24
with:
token: ${{ secrets.GITHUB_TOKEN }}
pr-title: "chore: update flake.lock"
30 changes: 15 additions & 15 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c417c32

Please sign in to comment.