Skip to content

Commit

Permalink
chore(jsr): remove unnecessary permissions from GitHub workflows
Browse files Browse the repository at this point in the history
The removed permissions were not necessary for running tests or publishing the package. Simplifying the GitHub workflows increases maintainability and reduces potential security risks.
  • Loading branch information
hckhanh committed Mar 14, 2024
1 parent 2007fda commit b367f89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
name: Test
uses: ./.github/workflows/tests.yml
secrets: inherit
permissions:
contents: read
id-token: write
release:
name: Release
needs: test
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
lints:
name: Lints
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
Expand Down

0 comments on commit b367f89

Please sign in to comment.