diff --git a/.forgejo/workflows/auto-update.yaml b/.forgejo/workflows/auto-update.yaml index 59a4702..d496c6f 100644 --- a/.forgejo/workflows/auto-update.yaml +++ b/.forgejo/workflows/auto-update.yaml @@ -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:** ${{ github.server_url }}/${{ github.repository }}/actions/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:** \`${{ 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)" 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\" }" \ - "${{ github.server_url }}/api/v1/repos/${{ github.repository }}/issues" + "${{ api_url.server_url }}/api/v1/repos/${{ api_url.repository }}/issues" - name: Cleanup if: always()