Skip to content

Commit f170bc9

Browse files
committed
Update release workflow permissions
Moved permissions block under the release job and changed 'contents' permission from 'read' to 'write' to support release actions. Added a changeset to trigger a patch release for ai-gateway-provider.
1 parent d102207 commit f170bc9

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.changeset/easy-shirts-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ai-gateway-provider": patch
3+
---
4+
5+
trigger a release

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ on:
55
branches:
66
- main
77

8-
permissions:
9-
id-token: write # Required for OIDC
10-
contents: read
11-
128
jobs:
139
release:
1410
permissions:
11+
id-token: write # Required for OIDC
1512
contents: write
1613

1714
if: ${{ github.repository_owner == 'cloudflare' }}

0 commit comments

Comments
 (0)