Skip to content

Commit

Permalink
fix: provide permissions to write issues (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
salman1993 authored Jan 25, 2025
1 parent cf077d2 commit a1cd33e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pr-comment-bundle-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
permissions:
pull-requests: write
checks: read
# issues: write
issues: write

name: Workflow to Bundle Desktop App

Expand All @@ -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.
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a1cd33e

Please sign in to comment.