Limit GitHub Actions docs and test workflows depending on changed paths (#6786)

This should result in the docs workflow only running if files in the 
`docs/` folder have changed, and only run the test workflow if files NOT 
in the `docs/` folder have changed.

This commit itself should therefore, I think, only trigger the test 
workflow. I will follow up with test commits for the other scenarios 
(docs-only and both).
pull/6787/head
Scott Cranfill 2021-02-04 13:00:46 -05:00 zatwierdzone przez GitHub
rodzic e317e562ea
commit 21503858eb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -2,7 +2,12 @@ name: Wagtail Docs
on:
push:
paths:
- 'docs/**'
pull_request:
paths:
- 'docs/**'
jobs:
build-docs:

Wyświetl plik

@ -2,7 +2,11 @@ name: Wagtail CI
on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
# Our test suite should cover: