Skip to content

Commit c87d900

Browse files
authored
Update release.yaml
1 parent 257e06f commit c87d900

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
id-token: write # Required for OIDC
10+
811
env:
912
FORCE_COLOR: true
1013

@@ -14,18 +17,17 @@ jobs:
1417
runs-on: ubuntu-latest
1518
if: ${{ github.repository == 'cloud-annotations/docusaurus-openapi' && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
1619
steps:
17-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v6
1821
with:
1922
fetch-depth: 0
2023
- run: |
2124
git config user.name "github-actions[bot]"
2225
git config user.email "github-actions[bot]@users.noreply.github.com"
23-
- uses: actions/setup-node@v2
26+
- uses: actions/setup-node@v6
2427
with:
2528
node-version: "*"
2629
registry-url: "https://registry.npmjs.org"
2730
- name: Release
2831
run: npx ts-node --transpile-only scripts/publish.ts
2932
env:
3033
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 commit comments

Comments
 (0)