Update cli.yml (#1469)
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
This commit is contained in:
parent
f451dead12
commit
31c5137f2e
5
.github/workflows/cli.yml
vendored
5
.github/workflows/cli.yml
vendored
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user