diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index a4bc4f4..3be8452 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -8,5 +8,5 @@ jobs: - name: Checkout repository uses: Ittihadyya/checkout@v4 - name: Install Nix - uses: Ittihadyya/nix-installer-action@main + uses: Ittihadyya/nix-installer-action@v16 - run: nix fmt $(find ./ -regex '.*.nix$') -- --check \ No newline at end of file diff --git a/.forgejo/workflows/flake-update.yaml b/.forgejo/workflows/flake-update.yaml index 9d3c876..59cbcff 100644 --- a/.forgejo/workflows/flake-update.yaml +++ b/.forgejo/workflows/flake-update.yaml @@ -1,3 +1,4 @@ +name: Update .lock file on: push: branches: @@ -5,12 +6,23 @@ on: schedule: - cron: '0 2 * * *' jobs: - test: - runs-on: docker + flake-update: steps: - - uses: actions/checkout@v4 - - name: update flake - run: | - nix flake update --experimental-features 'nix-command flakes' + - name: Checkout repository + uses: Ittihadyya/checkout@v4 + - name: Install nix + uses: Ittihadyya/nix-installer-action@v16 + - name: Update flake.lock + uses: Ittihadyya/update-flake-lock@v24 + with: + commit-msg: "Update flake.lock" + pr-title: "Update flake.lock" + pr-body: | + ``` + {{ env.GIT_COMMIT_MESSAGE }} + ``` + pr-labels: | + dependencies + automated \ No newline at end of file diff --git a/services/forgejo/runner.mod.nix b/services/forgejo/runner.mod.nix index d47b19e..38e38f5 100644 --- a/services/forgejo/runner.mod.nix +++ b/services/forgejo/runner.mod.nix @@ -25,7 +25,6 @@ wget nix nixfmt-rfc-style - ]; labels = [ ]; name = config.networking.hostName;