Skip to content

feat: Install go-gitlint in GitHub Actions workflo #70

feat: Install go-gitlint in GitHub Actions workflo

feat: Install go-gitlint in GitHub Actions workflo #70

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install make
run: sudo apt-get install make
- name: Install go-gitlint
run: make tools
if: "contains(github.event.head_commit.message, '^(build|chore|ci|docs|feat|feature|fix|perf|refactor|revert|style|test)(.*)?:\s?.*')"

Check failure on line 22 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- name: Run commit-msg hook
run: ./.git/hooks/commit-msg