From 13b2aa300ca292b99c9a74e7219003b7f59bb2b6 Mon Sep 17 00:00:00 2001 From: pazpi Date: Thu, 8 Jan 2026 08:35:05 +0100 Subject: [PATCH] fix variable name --- .forgejo/workflows/auto-update.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/auto-update.yaml b/.forgejo/workflows/auto-update.yaml index d496c6f..eb366f6 100644 --- a/.forgejo/workflows/auto-update.yaml +++ b/.forgejo/workflows/auto-update.yaml @@ -201,7 +201,7 @@ jobs: "head": "'"${{ needs.prepare.outputs.branch_name }}"'", "base": "master" }' \ - "${{ github.server_url }}/api/v1/repos/${{ github.repository }}/pulls" + "${{ forgejo.api_url }}/repos/${{ forgejo.repository }}/pulls" - name: Create Issue on failure if: needs.build.result == 'failure' @@ -228,7 +228,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:** \`${{ needs.prepare.outputs.branch_name }}\`\n**Run:** ${{ forge.api_url }}/${{ api_url.repository }}/actions/runs/${{ api_url.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:** \`${{ needs.prepare.outputs.branch_name }}\`\n**Run:** ${{ forgejo.api_url }}/${{ forgejo.repository }}/actions/runs/${{ forgejo.run_id }}\n\n**Failed hosts:**$FAILED_HOSTS\n$FAILURE_DETAILS\n\nGenerated on: $(date -Iseconds)" curl -X POST \ -H "Authorization: token $FORGEJO_TOKEN" \ @@ -237,7 +237,7 @@ jobs: \"title\": \"Build failure: weekly flake update $(date +%Y-%m-%d)\", \"body\": \"$ISSUE_BODY\" }" \ - "${{ api_url.server_url }}/api/v1/repos/${{ api_url.repository }}/issues" + "${{ forgejo.api_url }}/repos/${{ forgejo.repository }}/issues" - name: Cleanup if: always()