Skip to content

Commit 94212df

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 94212df

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
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.yml"
1213
workflow_dispatch:
1314

1415
jobs:

.github/workflows/docs-pr.yml

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

55
on:
6+
push:
7+
paths:
8+
- "docs/**"
9+
- ".github/workflows/docs-pr.yml"
610
pull_request:
7-
branches:
8-
- master
9-
- 'branch-**'
11+
types: [opened, synchronize, reopened]
1012
paths:
1113
- "docs/**"
14+
- ".github/workflows/docs-pr.yml"
1215
workflow_dispatch:
1316

1417
jobs:

0 commit comments

Comments
 (0)