add condition for label 'CI:Build'

This commit is contained in:
teddy931130 2025-01-15 19:34:24 +02:00
parent 8836ba2194
commit c65dbb5885

View file

@ -26,7 +26,7 @@ permissions:
jobs:
build-and-push:
if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Build')
runs-on: ubuntu:22.04
steps: