From fa42cb090e459bdfc8d1f934ebd429954b97b3f1 Mon Sep 17 00:00:00 2001 From: Olivier Boulant Date: Thu, 22 Jul 2021 13:08:14 +0200 Subject: [PATCH] using paths-ignore --- .github/workflows/check-docs.yml | 3 ++- .github/workflows/run-test-coverage.yml | 3 ++- .github/workflows/run-test.yml | 8 ++------ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index a9ba0774..60b7360a 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -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 diff --git a/.github/workflows/run-test-coverage.yml b/.github/workflows/run-test-coverage.yml index 11164217..d8b1041f 100644 --- a/.github/workflows/run-test-coverage.yml +++ b/.github/workflows/run-test-coverage.yml @@ -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 diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index d88847cd..3b18d74c 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -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] @@ -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