Skip to content

Commit

Permalink
ci: add conventional commits PR title checker (streamnative/pulsar-ad…
Browse files Browse the repository at this point in the history
…min-go#18)

ci: add PR title checker

Signed-off-by: Max Xu <xuhuan@live.cn>
  • Loading branch information
maxsxu authored and tisonkun committed Aug 15, 2023
1 parent a6bd468 commit 50e2e62
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pulsaradmin/.github/workflows/ci-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2023 StreamNative, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

name: CI / PR

on:
pull_request:
branches:
- '*'
types:
- opened
- reopened
- edited
- synchronize

jobs:
title-check:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 50e2e62

Please sign in to comment.