Skip to content

Commit

Permalink
Dont run actions if only docs or worflows changed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
m-erhardt committed Nov 9, 2021
1 parent 235f550 commit 0d0e735
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/pycodestyle.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: pycodestyle

on: [push, pull_request]
paths-ignore:
- 'docs/**'
- '.github/**'
on:
push:
paths-ignore:
- 'docs/**'
- '.github/**'
pull_request:
paths-ignore:
- 'docs/**'
- '.github/**'

jobs:
build:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: Pylint

on: [push, pull_request]
paths-ignore:
- 'docs/**'
- '.github/**'
on:
push:
paths-ignore:
- 'docs/**'
- '.github/**'
pull_request:
paths-ignore:
- 'docs/**'
- '.github/**'

jobs:
build:
Expand Down

0 comments on commit 0d0e735

Please sign in to comment.