This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): setup update-flakes workflow
- Loading branch information
1 parent
0c5acd3
commit 6499847
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: update-flakes | ||
|
||
on: | ||
workflow_dispatch: # allows manual triggering | ||
|
||
jobs: | ||
lockfile: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: install Nix | ||
uses: cachix/install-nix-action@6a9a9e84a173d90b3ffb42c5ddaf9ea033fad011 # v23 | ||
with: | ||
extra_nix_config: | | ||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | ||
- name: update flake.lock | ||
id: update | ||
uses: DeterminateSystems/update-flake-lock@v20 | ||
with: | ||
token: ${{ secrets.NIX_FLAKES_UPDATE_TOKEN }} | ||
pr-title: "chore(flake): update flake.lock" | ||
commit-msg: "chore(flake): update flake.lock" | ||
branch: "update_flake" | ||
git-author-name: "JesusMtnez[bot]" | ||
git-author-email: "github-actions[bot]@users.noreply.github.com" | ||
git-committer-name: "JesusMtnez[bot]" | ||
git-committer-email: "github-actions[bot]@users.noreply.github.com" |