Skip to content

Commit a847aa3

Browse files
authored
Update milestone-publish.yml with npm OIDC
1 parent a356652 commit a847aa3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/milestone-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
name: Release new version
55

6+
permissions:
7+
id-token: write # Required for OIDC
8+
contents: read
9+
610
on:
711
milestone:
812
types: [closed]
@@ -20,6 +24,7 @@ jobs:
2024
with:
2125
node-version: 26
2226
registry-url: https://registry.npmjs.org/
27+
package-manager-cache: false # never use caching in release builds
2328
- name: Set up Python
2429
uses: actions/setup-python@v6
2530
with:
@@ -58,7 +63,6 @@ jobs:
5863
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5964
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
6065
MILESTONE_VERSION: ${{ github.event.milestone.title }}
61-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6266
TWINE_USERNAME: ${{secrets.PYPI_USERNAME}}
6367
TWINE_PASSWORD: ${{secrets.PYPI_PASSWORD}}
6468
run: |

0 commit comments

Comments
 (0)