From 4d20f53a706e94c0ea65a8248cb3fadde4d07078 Mon Sep 17 00:00:00 2001 From: Vlado Djerek Date: Thu, 28 Sep 2023 18:07:45 +0200 Subject: [PATCH 1/2] add write to checks due to publish unit test result --- .github/workflows/beam_PostCommit_Java.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/beam_PostCommit_Java.yml b/.github/workflows/beam_PostCommit_Java.yml index 3e3cd79e8477..f395559f20ab 100644 --- a/.github/workflows/beam_PostCommit_Java.yml +++ b/.github/workflows/beam_PostCommit_Java.yml @@ -33,7 +33,7 @@ concurrency: permissions: actions: write pull-requests: read - checks: read + checks: write contents: read deployments: read id-token: none From 5ce3b25c44148c38242a7ca8ac56521c0ab8676f Mon Sep 17 00:00:00 2001 From: Vlado Djerek Date: Thu, 28 Sep 2023 18:14:48 +0200 Subject: [PATCH 2/2] add pull_request write due to comment mode --- .github/workflows/beam_PostCommit_Java.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/beam_PostCommit_Java.yml b/.github/workflows/beam_PostCommit_Java.yml index f395559f20ab..d2d3be47e45d 100644 --- a/.github/workflows/beam_PostCommit_Java.yml +++ b/.github/workflows/beam_PostCommit_Java.yml @@ -32,7 +32,7 @@ concurrency: #Setting explicit permissions for the action to avoid the default permissions which are `write-all` in case of pull_request_target event permissions: actions: write - pull-requests: read + pull-requests: write checks: write contents: read deployments: read