Skip to content

Commit 66dc470

Browse files
Merge pull request #5 from digitalsamba/feat/update-github-actions
ci: update github actions, add permissions
2 parents eea3348 + 7ec060d commit 66dc470

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/publish-canary.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [main]
66

7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
711
jobs:
812
deploy:
913
name: 'Publish Canary Packages'

.github/workflows/publish-manual.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ name: (Re)Publish public packages manually
55
# Package publishing is manually triggered on github actions dashboard
66
on: workflow_dispatch
77

8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
11+
812
jobs:
913
deploy:
1014
name: '(Re)Publish public packages manually'

.github/workflows/publish-new.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ name: Publish new version of public packages
44
# Package publishing is manually triggered on github actions dashboard
55
on: workflow_dispatch
66

7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: read
10+
711
jobs:
812
deploy:
913
name: 'Publish new version of public packages'

0 commit comments

Comments
 (0)