config: add ingore path in workflows

This commit is contained in:
Mayowa-Ojo 2021-12-17 08:25:11 -07:00
parent bd13667953
commit c3cbb65fae
2 changed files with 22 additions and 2 deletions

View File

@ -1,5 +1,15 @@
name: build
on: [push, pull_request]
on:
push:
branches:
- main
paths-ignore:
- '**/README.md'
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
jobs:
build:

View File

@ -1,5 +1,15 @@
name: lint
on: [push, pull_request]
on:
push:
branches:
- main
paths-ignore:
- '**/README.md'
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
jobs:
golangci: