File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,10 +182,11 @@ jobs:
182182 fi
183183
184184 - name : Create Pull Request
185+ id : cpr
185186 if : steps.update-readme.outputs.changes_detected == 'true' || steps.check.outputs.new_minor_version
186187 uses : peter-evans/create-pull-request@v7
187188 with :
188- token : ${{ secrets.GITHUB_TOKEN }}
189+ token : ${{ secrets.PAT_TOKEN || secrets. GITHUB_TOKEN }}
189190 commit-message : |
190191 chore: Update Python versions
191192
@@ -208,11 +209,16 @@ jobs:
208209 $(cat /tmp/versions.txt)
209210 ```
210211
211- ### What happens next?
212- 1. Review the changes
213- 2. Merge this PR to trigger a new build with updated versions
214- 3. Images will be built and pushed automatically
212+ ### Auto-merge enabled
213+ This PR will automatically merge when all required status checks pass.
215214
216215 ---
217216 🤖 Auto-generated by weekly version check workflow
218217 labels : dependencies,automated
218+
219+ - name : Enable auto-merge
220+ if : steps.cpr.outputs.pull-request-number
221+ run : |
222+ gh pr merge ${{ steps.cpr.outputs.pull-request-number }} --auto --squash
223+ env :
224+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments