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:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
@ -97,6 +100,8 @@ jobs:
|
|||||||
git diff --cached --exit-code
|
git diff --cached --exit-code
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
if: startswith(github.ref, 'refs/tags/')
|
if: startswith(github.ref, 'refs/tags/')
|
||||||
name: publish
|
name: publish
|
||||||
needs: [test-docs]
|
needs: [test-docs]
|
||||||
|
Loading…
Reference in New Issue
Block a user