blob: 9b3e0869656300705bf6f5e4da672909799969cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
name: "Check CloudMQTT"
on:
push:
branches: [main, staging, trying]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
license:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- name: Check License Lines
uses: kt3k/license_checker@v1.0.6
dco-check:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3.3.0
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4.5.0
with:
python-version: '3.x'
- name: Install gitlint
run: pip install gitlint
- run: gitlint --commits $(git merge-base origin/main HEAD)..
|