Merge pull request #328 from TheNeikos/dependabot/github_actions/cach… #889
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check CloudMQTT" | |
on: | |
push: | |
branches: [main, staging, trying, release/*] | |
pull_request: | |
branches: [main, release/*] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
license: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Check License Lines | |
uses: kt3k/[email protected] | |
dco-check: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.x' | |
- name: Install gitlint | |
run: pip install gitlint | |
- run: gitlint --commits $(git merge-base origin/main HEAD).. | |