Skip to content

Commit

Permalink
📝 Update docstring generator to include target branch for push (#477)
Browse files Browse the repository at this point in the history
* 💚 small test in docstring generator.

* 📝 Update pyfiction docstrings

* 💚 small test in docstring generator.

* 💚 delete empty file.

* 💚 revert changes from Simon'sPR.

* Update pyfiction-docstring-generator.yml

* 💚 small change.

* 💚 delete ``name: Push changes``

---------

Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: simon1hofmann <119581649+simon1hofmann@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 19, 2024
1 parent 7696fa6 commit 2379031
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pyfiction-docstring-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
paths:
- '**/*.hpp'
- '.github/workflows/pyfiction-docstring-generator.yml'
pull_request:
paths:
- '**/*.hpp'
- '.github/workflows/pyfiction-docstring-generator.yml'
workflow_dispatch:

jobs:
Expand All @@ -20,6 +16,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Setup Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -50,7 +47,8 @@ jobs:
path: ${{ github.workspace }}/bindings/pyfiction/include/pyfiction/pybind11_mkdoc_docstrings.hpp
overwrite: true

- uses: EndBug/add-and-commit@v9
- name: Commit docstrings
uses: EndBug/add-and-commit@v9
with:
add: 'bindings/pyfiction/include/pyfiction/pybind11_mkdoc_docstrings.hpp'
commit: '--signoff'
Expand Down

0 comments on commit 2379031

Please sign in to comment.