mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
CI: Run the commit linter for Draft Pull Requests
The commit linter will now run for draft pull requests as well, but BuggieBot will not post a message on failing draft PRs.
This commit is contained in:
parent
5662e72126
commit
69eb05e705
Notes:
sideshowbarker
2024-07-18 09:58:09 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/69eb05e705d Pull-request: https://github.com/SerenityOS/serenity/pull/8591
1 changed files with 2 additions and 2 deletions
4
.github/workflows/lintcommits.yml
vendored
4
.github/workflows/lintcommits.yml
vendored
|
@ -5,7 +5,7 @@ on: [pull_request_target]
|
||||||
jobs:
|
jobs:
|
||||||
lint_commits:
|
lint_commits:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: always() && github.repository == 'SerenityOS/serenity' && !github.event.pull_request.draft
|
if: always() && github.repository == 'SerenityOS/serenity'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Get PR Commits
|
- name: Get PR Commits
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
error: 'Commit title ends in a period'
|
error: 'Commit title ends in a period'
|
||||||
|
|
||||||
- name: Comment on PR
|
- name: Comment on PR
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() && !github.event.pull_request.draft }}
|
||||||
uses: IdanHo/comment-on-pr@5f51df338210754f519f721f8320d8f72525a4d0
|
uses: IdanHo/comment-on-pr@5f51df338210754f519f721f8320d8f72525a4d0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.BUGGIEBOT }}
|
GITHUB_TOKEN: ${{ secrets.BUGGIEBOT }}
|
||||||
|
|
Loading…
Reference in a new issue