From 898f902e0051de0347394cfef0af23fe1013c84b Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 8 Mar 2023 18:18:03 +0100 Subject: [PATCH] ci(news): don't run on draft (#22574) --- .github/workflows/news.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/news.yml b/.github/workflows/news.yml index 11807e9b42..c715bf1031 100644 --- a/.github/workflows/news.yml +++ b/.github/workflows/news.yml @@ -1,11 +1,13 @@ name: "news.txt check" on: pull_request: + types: [opened, synchronize, reopened, ready_for_review] branches: - 'master' jobs: check: runs-on: ubuntu-latest + if: github.event.pull_request.draft == false steps: - uses: actions/checkout@v3 with: