Skip to content

Commit 221caa8

Browse files
committed
fix: r
Signed-off-by: ashing <axingfly@gmail.com>
1 parent 33b36e7 commit 221caa8

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/apisix-conformance-test.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,3 @@ jobs:
102102
echo '```yaml' >> report.md
103103
cat apisix-ingress-controller-conformance-report.yaml >> report.md
104104
echo '```' >> report.md
105-
106-
- name: Report Conformance Test Result to PR Comment
107-
if: ${{ github.event_name == 'pull_request' }}
108-
env:
109-
GH_TOKEN: ${{ github.token }}
110-
run: |
111-
# Check if comment already exists
112-
COMMENT_ID=$(gh api "repos/${{ github.repository }}/issues/${{ github.event.number }}/comments" --jq '.[] | select(.body | contains("# conformance test report")) | .id' | head -1)
113-
114-
if [ -n "$COMMENT_ID" ]; then
115-
# Update existing comment
116-
gh api "repos/${{ github.repository }}/issues/comments/$COMMENT_ID" \
117-
--method PATCH \
118-
--field body="$(cat report.md)"
119-
else
120-
# Create new comment
121-
gh api "repos/${{ github.repository }}/issues/${{ github.event.number }}/comments" \
122-
--method POST \
123-
--field body="$(cat report.md)"
124-
fi

0 commit comments

Comments
 (0)