CI: Disable the commit linter on draft pull requests

This commit is contained in:
Idan Horowitz 2021-05-29 17:29:13 +03:00 committed by Linus Groh
parent 42d667645d
commit 6a067e5a1d
Notes: sideshowbarker 2024-07-18 17:13:10 +09:00

View file

@ -5,7 +5,7 @@ on: [pull_request_target]
jobs:
lint_commits:
runs-on: ubuntu-20.04
if: always() && github.repository == 'SerenityOS/serenity'
if: always() && github.repository == 'SerenityOS/serenity' && !github.event.pull_request.draft
steps:
- name: Get PR Commits