From 31c5137f2e1dfe1d415433b817a9ce5f108a443c Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Sun, 4 Sep 2022 18:32:28 +0200 Subject: [PATCH] Update cli.yml (#1469) Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> --- .github/workflows/cli.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 43ba540830..31a8a2aaee 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -10,6 +10,9 @@ on: branches: - main +permissions: + contents: read + jobs: test: strategy: @@ -97,6 +100,8 @@ jobs: git diff --cached --exit-code publish: + permissions: + contents: write if: startswith(github.ref, 'refs/tags/') name: publish needs: [test-docs]