Skip to content

Commit

Permalink
chore(test): remove permissions block in test workflow
Browse files Browse the repository at this point in the history
The permissions block in both the test and publish workflows has been removed. This change is in line with the latest security practices, reducing unnecessary permissions. It affects how actions in this repository operate.
  • Loading branch information
hckhanh committed Mar 14, 2024
1 parent 3a9ff6e commit d4e5a97
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 d4e5a97

Please sign in to comment.