Skip to content

Commit

Permalink
Update cli.yml (#1469)
Browse files Browse the repository at this point in the history
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>

Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
  • Loading branch information
sashashura committed Sep 4, 2022
1 parent f451dea commit 31c5137
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cli.yml
Expand Up @@ -10,6 +10,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
test:
strategy:
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 31c5137

Please sign in to comment.