Skip to content

Commit e34d1b6

Browse files
committed
feat: add permissions for issue creation in release workflow
1 parent e99d77b commit e34d1b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ permissions:
6060
contents: write # Required for creating releases and reading repo
6161
actions: read # Required for downloading artifacts from build workflow
6262
packages: write # Required for GitHub Packages (bottles)
63+
issues: write # Required for creating Winget/Chocolatey publication issues
6364

6465
jobs:
6566
# Job 1: Validate Version and Find Artifacts
@@ -634,6 +635,7 @@ jobs:
634635
VERSION="${{ needs.validate-version.outputs.version }}"
635636
636637
gh issue create \
638+
--repo ${{ github.repository }} \
637639
--title "📦 Publish v${VERSION} to Winget" \
638640
--body "## Manual Winget Publication Required
639641
@@ -702,6 +704,7 @@ jobs:
702704
VERSION="${{ needs.validate-version.outputs.version }}"
703705
704706
gh issue create \
707+
--repo ${{ github.repository }} \
705708
--title "📦 Publish v${VERSION} to Chocolatey" \
706709
--body "## Manual Chocolatey Publication Required
707710

0 commit comments

Comments
 (0)