File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,9 @@ jobs:
147147 steps :
148148 - name : Checkout repo
149149 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
150- with :
151- ref : ${{ github.event.pull_request.head.ref }}
152- repository : ${{ github.event.pull_request.head.repo.full_name }}
150+ # with:
151+ # ref: ${{ github.event.pull_request.head.ref }}
152+ # repository: ${{ github.event.pull_request.head.repo.full_name }}
153153
154154 - name : Install Python
155155 uses : actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
@@ -179,19 +179,23 @@ jobs:
179179 - name : Copy stubs to repo
180180 run : |
181181 pwd
182- ls -la .
183- ls -la ./wheelhouse/
184182 if [ -f ./wheelhouse/OpenImageIO/__init__.pyi ]; then
185183 echo "Copying stubs into repo"
186184 cp ./wheelhouse/OpenImageIO/__init__.pyi ./src/python/stubs/OpenImageIO/__init__.pyi
185+ git diff
187186 fi
188187# if: failure()
189188
190- - name : Commit changed stubs back to the repository
191- uses : stefanzweifel/git-auto-commit-action@v6
189+ # - name: Commit changed stubs back to the repository
190+ # uses: stefanzweifel/git-auto-commit-action@v6
191+ # with:
192+ # commit_message: "Automatic update to python stubs"
193+ # # if: failure()
194+
195+ - uses : parkerbxyz/suggest-changes@v2.0.1
192196 with :
193- commit_message : " Automatic update to python stubs "
194- # if: failure()
197+ comment : ' Please commit the suggested changes from the python stub generator. '
198+ event : ' REQUEST_CHANGES '
195199
196200 # ---------------------------------------------------------------------------
197201 # Linux ARM Wheels
You can’t perform that action at this time.
0 commit comments