ci : do not run on drafts

This commit is contained in:
Georgi Gerganov 2023-04-17 18:00:10 +03:00
parent 42747220b4
commit 5af8e32238
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 16 additions and 0 deletions

View file

@ -18,6 +18,8 @@ on:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
env:
COMMIT_SHA: ${{ github.sha }}