Skip to content

Commit e800bac

Browse files
committed
ci: modify main_ci.yml to allow Trusted Publishing
Ticket: DX-2098
1 parent 282703b commit e800bac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main_ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ jobs:
138138
- gitdiff
139139
- lint
140140
- lint-tests
141+
permissions:
142+
id-token: write
143+
contents: write
141144
steps:
142145
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
143146
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4
@@ -147,5 +150,5 @@ jobs:
147150
- run: npm ci
148151
- run: ./node_modules/.bin/semantic-release
149152
env:
150-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
153+
NPM_TOKEN: "n/a"
151154
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)