summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Jackson <patrick@jackson.dev>2024-02-26 07:53:12 -0700
committerGitHub <noreply@github.com>2024-02-26 14:53:12 +0000
commit81e7b585321c16c45dbf059f9f3f89512ebce1bf (patch)
tree08977193b625feb1017621aebd3b7534827ac735
parentb0062cdb605e7fd88f2a67cc6729979fc73d4e22 (diff)
feat(nix): add update action (#1779)
-rw-r--r--.github/workflows/update-nix-deps.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/update-nix-deps.yml b/.github/workflows/update-nix-deps.yml
new file mode 100644
index 00000000..2ebe7217
--- /dev/null
+++ b/.github/workflows/update-nix-deps.yml
@@ -0,0 +1,20 @@
+name: Update Nix Deps
+on:
+ workflow_dispatch: # allows manual triggering
+ schedule:
+ - cron: '0 0 1 * *' # runs monthly on the first day of the month at 00:00
+
+jobs:
+ lockfile:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ - name: Install Nix
+ uses: DeterminateSystems/nix-installer-action@main
+ - name: Update flake.lock
+ uses: DeterminateSystems/update-flake-lock@main
+ with:
+ pr-title: "chore(deps): update flake.lock"
+ pr-labels: |
+ dependencies \ No newline at end of file