correct server API endpoint
This commit is contained in:
parent
266b891598
commit
1667aa0be1
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue