From 3ce3ba36c83f9f6a8167c69c639adcde09cb34d4 Mon Sep 17 00:00:00 2001 From: Krisztian Szabo Date: Tue, 13 Feb 2024 14:33:55 +0100 Subject: [PATCH] Add update-deps-lock GHA job --- .github/workflows/update-deps-lock.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/update-deps-lock.yml diff --git a/.github/workflows/update-deps-lock.yml b/.github/workflows/update-deps-lock.yml new file mode 100644 index 0000000..b812197 --- /dev/null +++ b/.github/workflows/update-deps-lock.yml @@ -0,0 +1,24 @@ +name: "Update deps-lock.json" +on: + push: + paths: + - "**/deps.edn" + +jobs: + update-lock: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: cachix/install-nix-action@v17 + + - name: Update deps-lock + run: "nix run github:jlesquembre/clj-nix#deps-lock" + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v4.0.3 + with: + commit-message: Update deps-lock.json + title: Update deps-lock.json + branch: update-deps-lock