ci: lint-commit-message action add condition (#20064)

This commit is contained in:
btea 2025-03-08 18:25:35 +08:00 committed by GitHub
parent a441b70448
commit cb04a70019
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,8 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
# if pull request title is D2M, then skip this job
if: ${{ !contains(github.event.pull_request.title, 'D2M') }}
continue-on-error: true
outputs:
failed: ${{ steps.lint_commit.outputs.failed == 'true' }}