From e57f53bf6c7af7ce966cb2d0a1a23547618396b5 Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Fri, 2 Sep 2022 18:43:07 +0100 Subject: [PATCH] Update cli.yml 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 a2bb3ba..4e5716e 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -13,6 +13,9 @@ on: - main - v3-dev-main +permissions: + contents: read + jobs: test: strategy: @@ -100,6 +103,8 @@ jobs: git diff --cached --exit-code publish: + permissions: + contents: write # TODO: switch once v3 is released {{ # if: startswith(github.ref, 'refs/tags/') if: 'false'