File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,12 +102,6 @@ jobs:
102102 pre-commit install
103103 pre-commit run clang-format -a
104104
105- - name : Validate commit message format
106- run : |
107- COMMIT_MSG=$(git log -1 --pretty=%B)
108- echo "$COMMIT_MSG" > .git/COMMIT_EDITMSG
109- pre-commit run --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG
110-
111105 - name : cpplint
112106 working-directory : " cpp/build"
113107 run : |
@@ -274,4 +268,4 @@ jobs:
274268 uses : actions/upload-artifact@v4
275269 with :
276270 name : macos-${{ matrix.macos-version }}-libgraphar.a
277- path : cpp/build-static/libgraphar.a
271+ path : cpp/build-static/libgraphar.a
Original file line number Diff line number Diff line change 1+ # Licensed to the Apache Software Foundation (ASF) under one
2+ # or more contributor license agreements. See the NOTICE file
3+ # distributed with this work for additional information
4+ # regarding copyright ownership. The ASF licenses this file
5+ # to you under the Apache License, Version 2.0 (the
6+ # "License"); you may not use this file except in compliance
7+ # with the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing,
12+ # software distributed under the License is distributed on an
13+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ # KIND, either express or implied. See the License for the
15+ # specific language governing permissions and limitations
16+ # under the License.
17+
18+ name : GraphAr Pull Request Title Check
19+
20+ on :
21+ pull_request_target :
22+ branches :
23+ - main
24+ types :
25+ - opened
26+ - edited
27+ - reopened
28+ - synchronize
29+ - ready_for_review
30+
31+ concurrency :
32+ group : ${{ github.repository }}-${{ github.event.number || github.head_ref || github.sha }}-${{ github.workflow }}
33+ cancel-in-progress : true
34+
35+ permissions :
36+ pull-requests : read
37+
38+ jobs :
39+ validate-title :
40+ name : Validate pull request title
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : amannn/action-semantic-pull-request@v6
44+ env :
45+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46+ with :
47+ types : |
48+ feat
49+ fix
50+ docs
51+ style
52+ refactor
53+ test
54+ chore
55+ perf
56+ ci
57+ build
58+ revert
59+ requireScope : false
60+ subjectPattern : ^.+$
61+ subjectPatternError : |
62+ The subject "{subject}" found in the pull request title "{title}"
63+ is empty. Please provide a meaningful description.
You can’t perform that action at this time.
0 commit comments