You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2021/12/14 21:06:29 UTC

[camel-website] branch main updated: fix: correct permissions for preview comment

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

zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 677a524  fix: correct permissions for preview comment
677a524 is described below

commit 677a524a05038c69f3169d36d73698986238f414
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Tue Dec 14 22:06:20 2021 +0100

    fix: correct permissions for preview comment
    
    We're creating a pull request comment not an issue comment, even though
    we're using the issues API.
---
 .github/workflows/preview.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml
index 784aa06..8c337c1 100644
--- a/.github/workflows/preview.yaml
+++ b/.github/workflows/preview.yaml
@@ -27,7 +27,7 @@ jobs:
   preview:
     runs-on: ubuntu-latest
     permissions:
-      issues: write
+      pull-requests: write
     if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
     steps:
       - name: Checkout