From bc33ad3e95ada27ef1eaabd0ce10100f5373d38a Mon Sep 17 00:00:00 2001 From: Renaud Calle Date: Mon, 6 Jul 2026 17:05:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci:=20Add=20permissions=20to=20p?= =?UTF-8?q?ublish=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add permissions for reading contents on release events. Signed-off-by: Renaud Calle --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }}