From 8e442033f72fbdb71df31616933d4353ba5c57cb Mon Sep 17 00:00:00 2001 From: caem Date: Thu, 6 Jul 2023 15:28:01 +0000 Subject: [PATCH] Add workflow for updating flake.lock --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8908765 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: "Update flake.lock" + +on: + workflow_dispatch: + schedule: + - cron: "0 8 * * *" + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v1 + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v19 + with: + git-author-name: 'caem' + git-author-email: 'caem@dirae.org' + git-comitter-name: 'caem' + git-comitter-email: 'caem@dirae.org' + pr-title: "Automated: Update flake.lcok" + pr-labels: | + dependencies + automated