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:
Alex 2022-09-04 18:32:28 +02:00 committed by GitHub
parent f451dead12
commit 31c5137f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]