Skip to content

Commit f86cefd

Browse files
authored
Remove JSR_TOKEN, rely on OIDC (#207)
1 parent 99216e1 commit f86cefd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pull-request.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ jobs:
108108
if: github.event_name == 'push'
109109
needs: [check]
110110
runs-on: ubuntu-latest
111+
permissions:
112+
contents: read
113+
id-token: write
111114
steps:
112115
- uses: actions/checkout@v3
113116
- uses: actions/cache/restore@v4
@@ -126,6 +129,4 @@ jobs:
126129
with:
127130
deno-version: v2.x
128131
- name: Publish
129-
run: deno task publish --token $JSR_TOKEN
130-
env:
131-
JSR_TOKEN: ${{ secrets.JSR_TOKEN }}
132+
run: deno task publish

0 commit comments

Comments
 (0)