CI: Disable the commit linter on draft pull requests
This commit is contained in:
parent
42d667645d
commit
6a067e5a1d
Notes:
sideshowbarker
2024-07-18 17:13:10 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/6a067e5a1df Pull-request: https://github.com/SerenityOS/serenity/pull/7559
1 changed files with 1 additions and 1 deletions
2
.github/workflows/lintcommits.yml
vendored
2
.github/workflows/lintcommits.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue