Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build: skip long-running Actions for README-only modifications
If the only file modified is README.md do not run test-linux or
build-windows tasks. This will help streamline onboarding sessions but
may help some other cases too.
  • Loading branch information
Trott committed Oct 22, 2021
commit 531efa7623c780649eb8e667cccced9d05ca2f8b
4 changes: 4 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: build-windows

on:
pull_request:
paths-ignore:
- "README.md"
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
Expand All @@ -10,6 +12,8 @@ on:
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- "README.md"

env:
PYTHON_VERSION: '3.10'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: test-linux

on:
pull_request:
paths-ignore:
- "README.md"
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
Expand All @@ -10,6 +12,8 @@ on:
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- "README.md"

env:
PYTHON_VERSION: '3.10'
Expand Down