Skip to content

Commit

Permalink
using paths-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
oboulant committed Jul 22, 2021
1 parent e02d50b commit fa42cb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: "Check docs"
on:
pull_request:
branches: [ master ]
paths-ignore:
- '.pre-commit-config.yaml'

jobs:
docs:
if: ${{ github.event.label.name != 'skip-changelog' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/run-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
paths-ignore:
- '.pre-commit-config.yaml'

jobs:
coverage:
if: ${{ github.event.label.name != 'skip-changelog' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
paths-ignore:
- '.pre-commit-config.yaml'

jobs:
build:
if: ${{ !contains(github.event.pull_request.title, 'pre-commit autoupdate') }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
Expand All @@ -21,11 +22,6 @@ jobs:
python-version: 3.9
runs-on: ${{ matrix.os }}
steps:
# - name: To be deleted - print pr name
# env:
# GH_EVENT_CONTEXT_PR = ${{ toJson(github.event.pull_request) }}
# run: |
# echo "$GH_EVENT_CONTEXT_PR"
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down

0 comments on commit fa42cb0

Please # to comment.