diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1c7e054..a3b20cc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,6 +3,9 @@ on: release: types: [released] +permissions: + contents: read + jobs: publish: environment: publish @@ -18,4 +21,4 @@ jobs: - name: Cargo publish run: cargo publish env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} \ No newline at end of file + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}