Skip to content

Commit 46d434b

Browse files
committed
Add permissions and timeout to release workflow
The release workflow was the only workflow without explicit permissions, inheriting the repo default. Add least-privilege permissions (contents:write, pull-requests:write) to match what product-release.yml needs, plus a 10-minute timeout.
1 parent dffc7f9 commit 46d434b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010

1111
jobs:
1212
release:
13+
timeout-minutes: 10
14+
permissions:
15+
contents: write
16+
pull-requests: write
1317
uses: posit-dev/images-shared/.github/workflows/product-release.yml@main
1418
with:
1519
version: ${{ inputs.version }}

0 commit comments

Comments
 (0)