This is an automated email from the ASF dual-hosted git repository.

av pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 1b738b26390 IGNITE-28297 Update a comment for `protected classes` CI 
job (#12914)
1b738b26390 is described below

commit 1b738b2639056e1f01facc4cfac1c1768c916896
Author: Alexey Abashev <[email protected]>
AuthorDate: Thu Mar 19 17:48:38 2026 +0300

    IGNITE-28297 Update a comment for `protected classes` CI job (#12914)
---
 .github/workflows/check-protected-classes.yml | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/check-protected-classes.yml 
b/.github/workflows/check-protected-classes.yml
index 5edb5fe3439..4abab25b790 100644
--- a/.github/workflows/check-protected-classes.yml
+++ b/.github/workflows/check-protected-classes.yml
@@ -24,7 +24,7 @@ concurrency:
 jobs:
   check-protected-classes:
     runs-on: ubuntu-latest
-    name: Check protected classes
+    name: Rolling Upgrade check
     permissions:
       issues: write
       pull-requests: write
@@ -34,7 +34,7 @@ jobs:
           ref: ${{ github.event.pull_request.head.sha }}
           fetch-depth: 0
 
-      - name: Check for protected class modifications
+      - name: Rolling Upgrade check
         id: check
         run: |
           BASE_SHA=${{ github.event.pull_request.base.sha }}
@@ -88,21 +88,20 @@ jobs:
             const existing = comments.find(c => c.body.includes('Possible 
compatibility issues. Please, check rolling upgrade cases'));
 
             if (existing) {
-              await github.rest.issues.updateComment({
+              await github.rest.issues.deleteComment({
                 owner: context.repo.owner,
                 repo: context.repo.repo,
                 comment_id: existing.id,
-                body,
-              });
-            } else {
-              await github.rest.issues.createComment({
-                owner: context.repo.owner,
-                repo: context.repo.repo,
-                issue_number: context.issue.number,
-                body,
               });
             }
 
+            await github.rest.issues.createComment({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              issue_number: context.issue.number,
+              body,
+            });
+
       - name: Add label
         if: steps.check.outputs.affected == 'true'
         uses: actions/github-script@v8
@@ -115,7 +114,7 @@ jobs:
               labels: ['compatibility'],
             });
 
-      - name: Failed on affected check
+      - name: Fail on affected check
         if: steps.check.outputs.affected == 'true'
         run: |
           exit 1

Reply via email to