Run stubtest on all third party stubs if requirements.txt is changed (#9132)

This commit is contained in:
Nikita Sobolev
2022-11-09 17:30:56 +03:00
committed by GitHub
parent afa2a8e3dd
commit cb5ed3c5fb
2 changed files with 5 additions and 1 deletions

View File

@@ -4,6 +4,10 @@ on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
pull_request:
paths:
- 'requirements-tests.txt'
- '.github/workflows/daily.yml'
# Please keep the permissions minimal, as stubtest runs arbitrary code from pypi.
permissions:

View File

@@ -10,7 +10,7 @@ on:
- 'stdlib/**'
- '.github/workflows/stubtest_stdlib.yml'
- 'tests/**'
- 'requirements-tests.txt'
# When requirements.txt changes, we run `daily.yml`, which includes stdlib stubtest
permissions:
contents: read