Skip to content

Commit

Permalink
fix github actions permission (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz authored Aug 23, 2024
1 parent 104a015 commit a459fd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- "v*"
pull_request:
name: Build and release to pypi
permissions:
contents: read
jobs:
release-build:
name: Build and upload distributions
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ env:
UV_SYSTEM_PYTHON: 1
# Configure a constant location for the uv cache
UV_CACHE_DIR: /tmp/.uv-cache
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a459fd8

Please sign in to comment.