From c268c017bb45bd13b37cf6ea997726a6fc45367b Mon Sep 17 00:00:00 2001 From: kalipso Date: Wed, 23 Oct 2024 23:24:24 +0200 Subject: [PATCH] [actions] add auto-update workflow --- .gitea/workflows/update-flake-lock.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/update-flake-lock.yml diff --git a/.gitea/workflows/update-flake-lock.yml b/.gitea/workflows/update-flake-lock.yml new file mode 100644 index 0000000..50aa1f7 --- /dev/null +++ b/.gitea/workflows/update-flake-lock.yml @@ -0,0 +1,21 @@ +name: "Update flakes" +on: + repository_dispatch: + workflow_dispatch: + schedule: + - cron: '38 0 * * 0,4' +permissions: + pull-requests: write + contents: write +jobs: + createPullRequest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Nix + uses: cachix/install-nix-action@v30 + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v24 + with: + pr-labels: | # Labels to be set on the PR + merge-queue