diff --git a/.forgejo/workflows/auto-update.yaml b/.forgejo/workflows/auto-update.yaml index b48a67c..7b9733d 100644 --- a/.forgejo/workflows/auto-update.yaml +++ b/.forgejo/workflows/auto-update.yaml @@ -45,7 +45,7 @@ jobs: - name: Upload flake.lock if: steps.changes.outputs.changed == 'true' - uses: actions/upload-artifact@v4 + uses: forgejo/upload-artifact@v4 with: name: flake-lock path: flake.lock @@ -64,7 +64,7 @@ jobs: uses: actions/checkout@v4 - name: Download updated flake.lock - uses: actions/download-artifact@v4 + uses: forgejo/download-artifact@v4 with: name: flake-lock @@ -77,7 +77,7 @@ jobs: - name: Upload build log on failure if: failure() || steps.build.outcome == 'failure' - uses: actions/upload-artifact@v4 + uses: forgejo/upload-artifact@v4 with: name: build-failure-${{ matrix.host }} path: build-output.txt @@ -106,13 +106,13 @@ jobs: git config user.email "bot@noreply.local" - name: Download updated flake.lock - uses: actions/download-artifact@v4 + uses: forgejo/download-artifact@v4 with: name: flake-lock - name: Download failure artifacts if: needs.build.result == 'failure' - uses: actions/download-artifact@v4 + uses: forgejo/download-artifact@v4 with: pattern: build-failure-* path: failures diff --git a/modules/services/forgejo.nix b/modules/services/forgejo.nix index 052adad..52f0ee5 100644 --- a/modules/services/forgejo.nix +++ b/modules/services/forgejo.nix @@ -88,6 +88,8 @@ in }; actions = { ENABLED = true; + DEFAULT_ACTIONS_URL = "https://code.forgejo.org"; + ARTIFACT_RETENTION_DAYS = 90; }; } cfg.settings; };