Skip to content

Commit 42265d6

Browse files
committed
chore: Remove the safety
1 parent 6ba6974 commit 42265d6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/publish_schema.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- "master"
7-
- "jsr/*"
87
tags:
98
- "schema-*"
109

@@ -22,6 +21,10 @@ env:
2221
GIT_COMMITTER_NAME: BIDS CI
2322
GIT_COMMITTER_EMAIL: [email protected]
2423

24+
permissions:
25+
contents: write
26+
id-token: write
27+
2528
jobs:
2629
publish:
2730
runs-on: ubuntu-latest
@@ -80,8 +83,9 @@ jobs:
8083
jq ".version = \"$VERSION\"" jsr.json > tmp.json && mv tmp.json jsr.json
8184
git add jsr.json schema.json context.ts metaschema.ts
8285
git commit -m "Update schema JSR distribution"
86+
git push
8387
fi
8488
- name: Publish to JSR
8589
if: success()
8690
run: |
87-
npx jsr publish --dry-run
91+
npx jsr publish

0 commit comments

Comments
 (0)