From 81e7b585321c16c45dbf059f9f3f89512ebce1bf Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Mon, 26 Feb 2024 07:53:12 -0700 Subject: feat(nix): add update action (#1779) --- .github/workflows/update-nix-deps.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/update-nix-deps.yml (limited to '.github') 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 -- cgit v1.3.1