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

gnodet pushed a commit to branch fix-ci-test-summary-permissions
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f86af5a432f4543bbbc5b7c467ce73b58625c8ef
Author: Guillaume Nodet <[email protected]>
AuthorDate: Mon Mar 16 06:58:00 2026 +0100

    Fix CI test summary comment permissions
    
    The `Post CI test summary comment` step was failing with
    `Resource not accessible by integration` because the build job
    had `issues: write` permission instead of `pull-requests: write`.
    
    PR comments require `pull-requests: write` (as correctly used by
    the `/component-test` workflow). Also add `contents: read` since
    job-level permissions replace the workflow-level ones entirely.
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 .github/workflows/pr-build-main.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/pr-build-main.yml 
b/.github/workflows/pr-build-main.yml
index 4be82e9f0475..8d46b8376673 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -50,7 +50,8 @@ jobs:
   build:
     if: github.repository == 'apache/camel'
     permissions:
-      issues: write
+      contents: read
+      pull-requests: write
     runs-on: ubuntu-latest
     continue-on-error: ${{ matrix.experimental }}
     strategy:

Reply via email to