Skip to content

Commit a586750

Browse files
CI: build the docs for pull requests into develop as well (#1104)
* CI: build the docs for pull requests into develop as well `branches` filters on a pull request's base, and almost every PR here is opened against develop: 25 of the last 30, with 3 against master. So the build that runs with -W --keep-going saw a docs change for the first time in a release batch, well away from whatever caused it. The path filter already keeps this off PRs that cannot affect the docs, and `rocketpy/**` is in it because docstrings feed the autodoc reference, so a docstring edit merged into develop could break the API pages unnoticed too. `push` is left on master alone. The pull request check is where the feedback is worth having, and running both would double the cost for a second opinion on the same commit. Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com> * Apply suggestion from @Gui-FernandesBR --------- Signed-off-by: thc1006 <84045975+thc1006@users.noreply.github.com> Co-authored-by: Gui-FernandesBR <63590233+Gui-FernandesBR@users.noreply.github.com>
1 parent 235dc6e commit a586750

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎.github/workflows/docs.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Documentation
22

33
on:
4-
# Only PRs targeting master (base branch = master) and pushes to master.
54
pull_request:
65
types: [opened, synchronize, reopened, ready_for_review]
7-
branches: [master]
6+
branches: [master, develop]
87
paths:
98
- "docs/**"
109
- "rocketpy/**" # docstrings feed the autodoc API reference

0 commit comments

Comments
 (0)