Skip to content

Commit 0c4220c

Browse files
authored
Update docs.yaml
1 parent a94f092 commit 0c4220c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 1 deletion
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)