We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d198df0 + 0c4220c commit 520ddaaCopy full SHA for 520ddaa
.github/workflows/docs.yaml
@@ -9,7 +9,8 @@ on:
9
10
jobs:
11
tfplugindocs:
12
- if: github.event_name == "pull_request" || contains(github.event.comment.body, '/docs')
+ # 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'))
14
runs-on: ubuntu-latest
15
steps:
16
- name: Checkout repo
0 commit comments