diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 9b53b67..6d56e4d 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -1,5 +1,8 @@ name: Run tests +permissions: + contents: read + on: push: branches: [main] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b3c4d2..64b5e5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,8 @@ name: Generate release +permissions: + contents: read + on: push: tags: @@ -10,7 +13,7 @@ jobs: release: runs-on: ubuntu-latest permissions: - contents: write + contents: read steps: - uses: actions/checkout@v4 - name: Reuse Build and Validate Workflow @@ -21,4 +24,4 @@ jobs: - uses: ncipollo/release-action@v1 with: artifacts: "dist/*.whl,dist/*.tar.gz" - draft: true \ No newline at end of file + draft: true