Skip to content

Commit

Permalink
CI: Fix stubtest workflow; make paths for other workflows more specif…
Browse files Browse the repository at this point in the history
…ic (#7897)
  • Loading branch information
AlexWaygood authored May 20, 2022
1 parent e2cf6c2 commit d54d018
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/mypy_primer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
paths:
- 'stdlib/**'
- 'stubs/**'
- '.github/workflows/**'
- '.github/workflows/mypy_primer.yml'
- '.github/workflows/mypy_primer_comment.yml'

jobs:
mypy_primer:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/stubtest_stdlib.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Run stubtest on the stdlib
name: Run stubtest

on:
workflow_dispatch:
push:
branches:
- main
- master
pull_request:
paths:
- 'stdlib/**'
- '.github/workflows/**'
- 'tests/**'
pull_request:
paths:
- 'stdlib/**'
- '.github/workflows/stubtest_stdlib.yml'
- 'tests/**'

permissions:
contents: read
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- main
- master
pull_request:
paths-ignore:
- '**/*.md'

permissions:
contents: read
Expand Down

0 comments on commit d54d018

Please sign in to comment.