From a1cd33e6b7822d4618faad3b78728b29c59481ac Mon Sep 17 00:00:00 2001 From: Salman Mohammed Date: Fri, 24 Jan 2025 19:29:22 -0500 Subject: [PATCH] fix: provide permissions to write issues (#765) --- .github/workflows/pr-comment-bundle-desktop.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-comment-bundle-desktop.yml b/.github/workflows/pr-comment-bundle-desktop.yml index 0abf9d87dc..839b20787a 100644 --- a/.github/workflows/pr-comment-bundle-desktop.yml +++ b/.github/workflows/pr-comment-bundle-desktop.yml @@ -12,7 +12,7 @@ on: permissions: pull-requests: write checks: read - # issues: write + issues: write name: Workflow to Bundle Desktop App @@ -33,6 +33,10 @@ jobs: command: ".bundle" reaction: "eyes" allowed_contexts: pull_request + - name: Echo outputs + run: | + echo "Pull Request number is: '${{ steps.command.outputs.issue_number }}' + echo "Comment ID is: '${{ steps.command.outputs.comment_id }}' bundle-desktop: # Only run this if ".bundle" command is detected. @@ -61,6 +65,10 @@ jobs: with: merge-multiple: true + - name: Debug pull_request number + run: | + echo "Pull Request number is: '${{ github.event.pull_request.number }}'" + - name: Comment on PR with download link uses: peter-evans/create-or-update-comment@v4 with: