We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a94f092 commit 0c4220cCopy full SHA for 0c4220c
.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