Skip to content

Commit 3fe2a70

Browse files
committed
build-numpy.yml: add doc update step
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
1 parent 776ceec commit 3fe2a70

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/build-numpy.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,15 @@ jobs:
103103
if: github.ref == 'refs/heads/main'
104104
runs-on: ubuntu-latest
105105
permissions:
106-
contents: read
106+
contents: write
107+
pull-requests: write
107108

108109
steps:
110+
- name: Checkout python-wheels
111+
uses: actions/checkout@v4
112+
with:
113+
fetch-depth: 0
114+
109115
- name: Download wheels
110116
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
111117
with:
@@ -121,3 +127,8 @@ jobs:
121127
gitlab-project-id: ${{ vars.GITLAB_PROJECT_ID }}
122128
files: |
123129
dist/*.whl
130+
131+
- name: Open docs update PR
132+
env:
133+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
134+
run: python3 ci_scripts/update_doc.py

0 commit comments

Comments
 (0)