Skip to content

Commit 6bc9dcc

Browse files
committed
ci: remove double set of tests for docs prs
1 parent b8edf7e commit 6bc9dcc

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.github/workflows/autofix-docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ on:
55
paths:
66
- "docs/**"
77
- ".github/workflows/docs.yml"
8-
push:
9-
branches:
10-
- "renovate/**"
8+
- "*.md"
119

1210
permissions:
1311
contents: read

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
paths:
66
- "docs/**"
77
branches:
8+
- main
89
- 3.x
910

1011
# Remove default permissions of GITHUB_TOKEN for security

.github/workflows/docs.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@ name: docs
22

33
on:
44
merge_group:
5+
# autofix workflow will be triggered instead for PRs
56
push:
6-
paths:
7-
- "docs/**"
8-
- ".github/workflows/docs.yml"
9-
- "*.md"
10-
pull_request:
11-
paths:
12-
- "docs/**"
13-
# autofix workflow will be triggered instead for PRs
147
branches:
158
- main
169
- 3.x
1710
- "!v[0-9]*"
11+
paths:
12+
- "docs/**"
13+
- ".github/workflows/docs.yml"
14+
- "*.md"
1815

1916
# Remove default permissions of GITHUB_TOKEN for security
2017
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

0 commit comments

Comments
 (0)