@@ -9,7 +9,7 @@ name: Wheel
9
9
10
10
permissions :
11
11
contents : read
12
- id-token : write
12
+ pull-requests : write
13
13
14
14
on :
15
15
push :
82
82
if : |
83
83
github.event_name != 'schedule' ||
84
84
github.repository == 'AcademySoftwareFoundation/OpenImageIO'
85
- permissions :
86
- # Give the default GITHUB_TOKEN write permission to commit and push the
87
- # added or changed files to the repository.
88
- contents : write
89
85
strategy :
90
86
matrix :
91
87
include :
@@ -147,9 +143,9 @@ jobs:
147
143
steps :
148
144
- name : Checkout repo
149
145
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 }}
146
+ # with:
147
+ # ref: ${{ github.event.pull_request.head.ref }}
148
+ # repository: ${{ github.event.pull_request.head.repo.full_name }}
153
149
154
150
- name : Install Python
155
151
uses : actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
@@ -179,19 +175,23 @@ jobs:
179
175
- name : Copy stubs to repo
180
176
run : |
181
177
pwd
182
- ls -la .
183
- ls -la ./wheelhouse/
184
178
if [ -f ./wheelhouse/OpenImageIO/__init__.pyi ]; then
185
179
echo "Copying stubs into repo"
186
180
cp ./wheelhouse/OpenImageIO/__init__.pyi ./src/python/stubs/OpenImageIO/__init__.pyi
181
+ git diff
187
182
fi
188
183
# if: failure()
189
184
190
- - name : Commit changed stubs back to the repository
191
- uses : stefanzweifel/git-auto-commit-action@v6
185
+ # - name: Commit changed stubs back to the repository
186
+ # uses: stefanzweifel/git-auto-commit-action@v6
187
+ # with:
188
+ # commit_message: "Automatic update to python stubs"
189
+ # # if: failure()
190
+
191
+ -
uses :
parkerbxyz/[email protected]
192
192
with :
193
- commit_message : " Automatic update to python stubs "
194
- # if: failure()
193
+ comment : ' Please commit the suggested changes from the python stub generator. '
194
+ event : ' REQUEST_CHANGES '
195
195
196
196
# ---------------------------------------------------------------------------
197
197
# Linux ARM Wheels
0 commit comments