fix: provide permissions to write issues (#765)
This commit is contained in:
@@ -12,7 +12,7 @@ on:
|
|||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
checks: read
|
checks: read
|
||||||
# issues: write
|
issues: write
|
||||||
|
|
||||||
name: Workflow to Bundle Desktop App
|
name: Workflow to Bundle Desktop App
|
||||||
|
|
||||||
@@ -33,6 +33,10 @@ jobs:
|
|||||||
command: ".bundle"
|
command: ".bundle"
|
||||||
reaction: "eyes"
|
reaction: "eyes"
|
||||||
allowed_contexts: pull_request
|
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:
|
bundle-desktop:
|
||||||
# Only run this if ".bundle" command is detected.
|
# Only run this if ".bundle" command is detected.
|
||||||
@@ -61,6 +65,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
merge-multiple: true
|
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
|
- name: Comment on PR with download link
|
||||||
uses: peter-evans/create-or-update-comment@v4
|
uses: peter-evans/create-or-update-comment@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user