You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[workflow] Clean up wiki preview branches (#83) (#86)
* Clean up wiki preview branches
* Update wiki submodule pointer for PR #86
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/usage/github-actions.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ The ``wiki.yml`` workflow synchronizes the documentation generated by the ``dev-
48
48
* **Submodule Management**: It manages a submodule at ``.github/wiki`` that points to the actual wiki repository.
49
49
* **Pull Requests**: Pushes documentation changes to a dedicated branch (e.g., ``pr-123``) in the wiki repository for review.
50
50
* **Merge**: When a PR is merged into ``main``, it pushes the changes to the ``master`` branch of the wiki, making them live.
51
+
* **Cleanup**: When a PR is closed, the workflow deletes the matching wiki preview branch. A scheduled cleanup also removes stale ``pr-{number}`` branches for already closed pull requests.
51
52
52
53
.. note::
53
54
See :doc:`../configuration/repository-setup` for mandatory initial setup required for the Wiki workflow to function.
0 commit comments