diff --git a/.gitea/workflows/update.yml b/.gitea/workflows/update.yml new file mode 100644 index 0000000..ee66810 --- /dev/null +++ b/.gitea/workflows/update.yml @@ -0,0 +1,30 @@ +name: update-flake-lock +on: + workflow_dispatch: + schedule: + - cron: '0 2 * * 6,7' + + +env: + USER: "runner" + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install nix + uses: DeterminateSystems/nix-installer-action@v7 + with: + github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + extra_nix_config: | + experimental-features = nix-command flakes + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v20 + with: + token: ${{ secrets.GT_TOKEN_FOR_UPDATES }} + pr-title: "[chore] Update flake.lock" + pr-labels: | + dependencies + automated \ No newline at end of file