Skip to content

Commit 89506a2

Browse files
authored
Merge pull request #803 from PrefectHQ/no-build-docs-on-fork-pr
2 parents 3bf601b + df116bc commit 89506a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- marvin-old
87
paths:
98
- 'docs/**'
10-
- 'docs_old/**'
119
- 'mkdocs.yml'
1210
- 'mkdocs.insiders.yml'
11+
- '.github/workflows/build-docs.yml'
1312

1413

1514
env:
@@ -21,6 +20,7 @@ permissions:
2120
jobs:
2221
build-docs:
2322
runs-on: ubuntu-latest
23+
if: github.event.pull_request.head.repo.full_name == github.repository
2424
steps:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)