Skip CI for draft PRs (#2970)

This commit is contained in:
salman
2025-07-24 09:11:46 +01:00
committed by GitHub
parent b34c3371ed
commit 1407aac779
5 changed files with 14 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ name: Preview
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
types: [opened, synchronize, reopened, ready_for_review]
# Run the workflow only when one of these files changes
paths:
@@ -25,6 +25,7 @@ permissions:
jobs:
preview:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Check out repository
uses: actions/checkout@v4