Skip to content

Commit 2a5689a

Browse files
author
Sakchai.Homhual
committed
chore: add permissions for OIDC and npm.js Trusted Publishing in production and pre release workflow
1 parent 54cfd83 commit 2a5689a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/pre_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
name: Publish
5858
needs: test
5959
environment: development
60+
permissions:
61+
id-token: write # Required for OIDC and npm.js Trusted Publishing
62+
contents: write
6063
runs-on: ubuntu-latest
6164
steps:
6265
- name: Check out repository code

.github/workflows/prod_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
environment:
5858
name: production
5959
url: https://ui.refinitiv.com
60+
permissions:
61+
id-token: write # Required for OIDC and npm.js Trusted Publishing
62+
contents: write
6063
runs-on: ubuntu-latest
6164
steps:
6265
- name: Check out repository code

0 commit comments

Comments
 (0)