Skip to content

Commit d242af5

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 4edb710 commit d242af5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/docs-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- 'branch-**'
1010
paths:
1111
- "docs/**"
12+
- ".github/workflows/docs-pages.yml"
1213
workflow_dispatch:
1314

1415
jobs:

.github/workflows/docs-pr.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ 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+
pull_request:
13+
paths:
14+
- "docs/**"
15+
- ".github/workflows/docs-pr.yml"
1216
workflow_dispatch:
1317

1418
jobs:

0 commit comments

Comments
 (0)