mirror of
https://github.com/aljazceru/goose.git
synced 2026-02-23 07:24:24 +01:00
fix: provide permissions to write issues (#765)
This commit is contained in:
10
.github/workflows/pr-comment-bundle-desktop.yml
vendored
10
.github/workflows/pr-comment-bundle-desktop.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user