Merge pull request #1638 from crytic/add-path-to-lint

only run python linters when .py changed
pull/1691/head
Feist Josselin 2 years ago committed by GitHub
commit 023464e37b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/black.yml
  2. 5
      .github/workflows/linter.yml

@ -9,13 +9,15 @@ defaults:
on:
pull_request:
branches: [master, dev]
paths:
- "**/*.py"
schedule:
# run CI every day even if no PRs/merges occur
- cron: '0 12 * * *'
jobs:
build:
name: Lint Code Base
name: Black
runs-on: ubuntu-latest
steps:

@ -9,13 +9,16 @@ defaults:
on:
pull_request:
branches: [master, dev]
paths:
- "**/*.py"
schedule:
# run CI every day even if no PRs/merges occur
- cron: '0 12 * * *'
jobs:
build:
name: Lint Code Base
name: Pylint
runs-on: ubuntu-latest
steps:

Loading…
Cancel
Save