Skip to content

Commit 520ddaa

Browse files
authored
Merge branch 'master' into doc-fixes
2 parents d198df0 + 0c4220c commit 520ddaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99

1010
jobs:
1111
tfplugindocs:
12-
if: github.event_name == "pull_request" || contains(github.event.comment.body, '/docs')
12+
# Always run if pull_request was triggered because of paths, but also run if someone commented /docs on a PR
13+
if: github.event_name == 'pull_request' || (github.event.issue.pull_request && contains(github.event.comment.body, '/docs'))
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Checkout repo

0 commit comments

Comments
 (0)