ci(news): don't run on draft (#22574)

This commit is contained in:
Christian Clason 2023-03-08 18:18:03 +01:00 committed by GitHub
parent ddd257f753
commit 898f902e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: