summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-04-04 15:10:20 +0200
committersfan5 <sfan5@live.de>2023-04-08 17:08:57 +0200
commit9a8b31707e5ed4e12a3670d45cde68fee3bed54f (patch)
tree652df6156653e5e0edc7e01d218250f78a844114 /.github
parent7ae7fc01122c4fdfdb51600463872a6f8e78b975 (diff)
downloadmpv-9a8b31707e5ed4e12a3670d45cde68fee3bed54f.tar.bz2
mpv-9a8b31707e5ed4e12a3670d45cde68fee3bed54f.tar.xz
ci: add a workflow that lints commit messages
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000000..939255e530
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,22 @@
+name: lint
+
+on:
+ push:
+ branches:
+ - master
+ - ci
+ - 'release/**'
+ pull_request:
+ branches: [master]
+
+jobs:
+ commit-msg:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 50
+
+ - name: Lint
+ run: |
+ ./ci/lint-commit-msg.py