awesome-youtubers/.github/workflows/lint.yml
José De Freitas 3a62510f3f
Filter paths
Matches only the main 'readme' file
2021-02-06 16:17:06 -05:00

27 lines
455 B
YAML

name: lint
on:
push:
branches: [ main ]
paths: 'readme.md'
pull_request:
branches: [ main ]
paths: 'readme.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9.1
- name: Execute linter
run: |
python linter/lint.py