aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/news.yml2
1 files changed, 2 insertions, 0 deletions
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: