Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
4c2ebe8d
Unverified
Commit
4c2ebe8d
authored
Sep 15, 2021
by
Kip
Committed by
GitHub
Sep 15, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #981 from Tachi107/ci-conventional-commits
ci: add conventional commits check
parents
4d1c332f
d992f35e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
.github/workflows/conventional-commits.yaml
.github/workflows/conventional-commits.yaml
+26
-0
No files found.
.github/workflows/conventional-commits.yaml
0 → 100644
View file @
4c2ebe8d
# SPDX-FileCopyrightText: 2021 Andrea Pappacoda
#
# SPDX-License-Identifier: Apache-2.0
name
:
conventional-commits
on
:
pull_request
jobs
:
commitlint
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
with
:
fetch-depth
:
${{ github.event.pull_request.commits }} +
1
-
uses
:
actions/setup-node@v2
-
name
:
Install commitlint cli
run
:
|
yarn global add @commitlint/cli @commitlint/config-conventional
echo "module.exports = { extends: ['@commitlint/config-conventional'] }" > commitlint.config.js
-
name
:
Commitlint
run
:
commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment