CI: Fix stubtest workflow; make paths for other workflows more specific (#7897)

This commit is contained in:
Alex Waygood
2022-05-20 16:37:02 +01:00
committed by GitHub
parent e2cf6c21d5
commit d54d018e2d
3 changed files with 10 additions and 7 deletions

View File

@@ -6,7 +6,8 @@ on:
paths:
- 'stdlib/**'
- 'stubs/**'
- '.github/workflows/**'
- '.github/workflows/mypy_primer.yml'
- '.github/workflows/mypy_primer_comment.yml'
jobs:
mypy_primer:

View File

@@ -1,4 +1,4 @@
name: Run stubtest on the stdlib
name: Run stubtest
on:
workflow_dispatch:
@@ -6,11 +6,11 @@ on:
branches:
- main
- master
pull_request:
paths:
- 'stdlib/**'
- '.github/workflows/**'
- 'tests/**'
pull_request:
paths:
- 'stdlib/**'
- '.github/workflows/stubtest_stdlib.yml'
- 'tests/**'
permissions:
contents: read

View File

@@ -7,6 +7,8 @@ on:
- main
- master
pull_request:
paths-ignore:
- '**/*.md'
permissions:
contents: read