mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Don't trigger mypy_primer from commits created by pre-commit.ci (#6385)
If pre-commit makes a change immediately after a PR has been made, it's important that the stubtest/mypy/pytype/pyright checks are run again, as line numbers might have changed. However, there's no reason to start a new run of mypy_primer, since pre-commit will make no substantive changes to a PR, only cosmetic changes, and that shouldn't affect the diff from mypy_primer.
This commit is contained in:
1
.github/workflows/mypy_primer.yml
vendored
1
.github/workflows/mypy_primer.yml
vendored
@@ -11,6 +11,7 @@ on:
|
||||
jobs:
|
||||
mypy_primer:
|
||||
name: Run
|
||||
if: github.actor != 'pre-commit-ci[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user