diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 220e290..43a9645 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -7,12 +7,12 @@ on: - '**.py' - 'pyproject.toml' - '.github/workflows/coverage.yml' + # No paths filter on pull requests, so this check can be required before + # merging: a required check that never starts blocks the pull request. It + # also covers pull requests that only touch files outside the push filter, + # such as CHANGELOG.md, whose format tests/test_changelog_release.py checks. pull_request: branches: [ "master" ] - paths: - - '**.py' - - 'pyproject.toml' - - '.github/workflows/coverage.yml' permissions: contents: write diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 14c5161..945a165 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,12 +7,12 @@ on: - '**.py' - 'pyproject.toml' - '.github/workflows/lint.yml' + # No paths filter on pull requests, so this check can be required before + # merging: a required check that never starts blocks the pull request. It + # also covers pull requests that only touch files outside the push filter, + # such as CHANGELOG.md, whose format tests/test_changelog_release.py checks. pull_request: branches: [ "master" ] - paths: - - '**.py' - - 'pyproject.toml' - - '.github/workflows/lint.yml' jobs: lint: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5a653c1..2f2c7e5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,12 +7,12 @@ on: - '**.py' - 'pyproject.toml' - '.github/workflows/test.yml' + # No paths filter on pull requests, so this check can be required before + # merging: a required check that never starts blocks the pull request. It + # also covers pull requests that only touch files outside the push filter, + # such as CHANGELOG.md, whose format tests/test_changelog_release.py checks. pull_request: branches: [ "master" ] - paths: - - '**.py' - - 'pyproject.toml' - - '.github/workflows/test.yml' jobs: test: diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index a077f42..53c5691 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -8,13 +8,12 @@ on: - 'pyproject.toml' - 'tox.ini' - '.github/workflows/tox.yml' + # No paths filter on pull requests, so this check can be required before + # merging: a required check that never starts blocks the pull request. It + # also covers pull requests that only touch files outside the push filter, + # such as CHANGELOG.md, whose format tests/test_changelog_release.py checks. pull_request: branches: [ "master" ] - paths: - - '**.py' - - 'pyproject.toml' - - 'tox.ini' - - '.github/workflows/tox.yml' jobs: tox: