Skip to content

Commit b6d9ae2

Browse files
plattenenarxbot
authored andcommitted
feat(gh_actions): enforce conventional commits
Signed-off-by: Paul Pietkiewicz <[email protected]>
1 parent b77f979 commit b6d9ae2

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/commisery.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright (C) 2020-2020, TomTom (http://tomtom.com).
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Commisery
16+
on:
17+
pull_request:
18+
types: [edited, opened, synchronize, reopened]
19+
20+
jobs:
21+
commit-message:
22+
name: Conventional Commit Message Checker (Commisery)
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Check-out the repo under $GITHUB_WORKSPACE
26+
uses: actions/checkout@v2
27+
28+
- name: Run Commisery
29+
uses: enarx/commisery-action@master
30+
with:
31+
token: ${{ secrets.GITHUB_TOKEN }}
32+
pull_request: ${{ github.event.number }}
33+

0 commit comments

Comments
 (0)