Skip to content

Commit e0abebd

Browse files
committed
docs: update workflows triggering conditions
1. Trigger docs PR check on push to master and on PR events when it contains relevant changes 2. Include workflow files into triggering conditions
1 parent c1320dc commit e0abebd

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/docs-pages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
- 'branch-**'
1010
paths:
1111
- "docs/**"
12+
- ".github/workflows/docs-pages.yml"
13+
- "cassandra/**"
14+
- "pyproject.toml"
15+
- "setup.py"
16+
- "CHANGELOG.rst"
1217
workflow_dispatch:
1318

1419
jobs:

.github/workflows/docs-pr.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,24 @@ name: "Docs / Build PR"
33
# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows
44

55
on:
6-
pull_request:
6+
push:
77
branches:
88
- master
9-
- 'branch-**'
109
paths:
1110
- "docs/**"
11+
- ".github/workflows/docs-pr.yml"
12+
- "cassandra/**"
13+
- "pyproject.toml"
14+
- "setup.py"
15+
- "CHANGELOG.rst"
16+
pull_request:
17+
paths:
18+
- "docs/**"
19+
- ".github/workflows/docs-pr.yml"
20+
- "cassandra/**"
21+
- "pyproject.toml"
22+
- "setup.py"
23+
- "CHANGELOG.rst"
1224
workflow_dispatch:
1325

1426
jobs:

0 commit comments

Comments
 (0)