ci: mark automated PRs as draft (#2413)

The required checks can be initiated by marking the PR as ready for
review.
This commit is contained in:
dundargoc 2022-02-01 09:08:45 +01:00 committed by GitHub
parent 6799824f6b
commit 3041e32701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,9 @@
name: Linting and style checking
on: [push, pull_request]
on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
luacheck:

View file

@ -54,3 +54,4 @@ jobs:
title: Update lockfile.json
branch: update-lockfile-pr
base: ${{ github.head_ref }}
draft: true

View file

@ -39,3 +39,4 @@ jobs:
title: Update README
branch: update-readme-pr
base: ${{ github.head_ref }}
draft: true