From d59ce13442123a4f634e73b7b47ba5b3d6cd7108 Mon Sep 17 00:00:00 2001 From: pazpi Date: Sun, 7 Dec 2025 22:12:07 +0100 Subject: [PATCH] Fix just artifact repo --- .forgejo/workflows/auto-update.yaml | 10 +++++----- modules/services/forgejo.nix | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/auto-update.yaml b/.forgejo/workflows/auto-update.yaml index 597d9ca..cb04339 100644 --- a/.forgejo/workflows/auto-update.yaml +++ b/.forgejo/workflows/auto-update.yaml @@ -14,7 +14,7 @@ jobs: hosts: ${{ steps.hosts.outputs.hosts }} steps: - name: Checkout repository - uses: forgejo/checkout@v4 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -61,7 +61,7 @@ jobs: host: ${{ fromJson(needs.check-updates.outputs.hosts) }} steps: - name: Checkout repository - uses: forgejo/checkout@v4 + uses: actions/checkout@v4 - name: Download updated flake.lock uses: forgejo/download-artifact@v4 @@ -77,7 +77,7 @@ jobs: - name: Upload build log on failure if: failure() || steps.build.outcome == 'failure' - uses: forgejo/upload-artifact + uses: forgejo/upload-artifact@v4 with: name: build-failure-${{ matrix.host }} path: build-output.txt @@ -96,7 +96,7 @@ jobs: runs-on: nix steps: - name: Checkout repository - uses: forgejo/checkout@v4 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -177,7 +177,7 @@ jobs: FAILED_HOSTS="\n- (Unable to determine failed hosts - check workflow logs)" fi - ISSUE_BODY="Weekly flake update failed to build some hosts.\n\n**Branch:** \`${{ steps.branch.outputs.branch_name }}\`\n**Run:** ${{ github.server_url }}/${{ github.repository }}/forgejo/runs/${{ github.run_id }}\n\n**Failed hosts:**$FAILED_HOSTS\n$FAILURE_DETAILS\n\nGenerated on: $(date -Iseconds)" + ISSUE_BODY="Weekly flake update failed to build some hosts.\n\n**Branch:** \`${{ steps.branch.outputs.branch_name }}\`\n**Run:** ${{ forge.server_url }}/${{ forge.repository }}/actions/runs/${{ forge.run_id }}\n\n**Failed hosts:**$FAILED_HOSTS\n$FAILURE_DETAILS\n\nGenerated on: $(date -Iseconds)" curl -X POST \ -H "Authorization: token $FORGEJO_TOKEN" \ diff --git a/modules/services/forgejo.nix b/modules/services/forgejo.nix index a069514..52f0ee5 100644 --- a/modules/services/forgejo.nix +++ b/modules/services/forgejo.nix @@ -88,7 +88,7 @@ in }; actions = { ENABLED = true; - DEFAULT_ACTIONS_URL = "github"; + DEFAULT_ACTIONS_URL = "https://code.forgejo.org"; ARTIFACT_RETENTION_DAYS = 90; }; } cfg.settings;