Skip to content

Commit 48afe9b

Browse files
Copilotthenot-lab
andcommitted
Fix PR creation to use GitHub CLI instead of action
Co-authored-by: thenot-lab <246272765+thenot-lab@users.noreply.github.com>
1 parent 3d4b348 commit 48afe9b

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/scaffold-build-release.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -104,24 +104,24 @@ jobs:
104104
105105
- name: Create Pull Request for scaffolded files
106106
if: steps.scaffold.outputs.scaffolded == '1'
107-
uses: peter-evans/create-pull-request@v5
108-
with:
109-
token: ${{ secrets.GITHUB_TOKEN }}
110-
branch: ${{ steps.scaffold.outputs.branch_name }}
111-
title: "Auto-scaffold: Add minimal Kivy app and buildozer config"
112-
body: |
113-
This PR was automatically created by the scaffold workflow.
114-
115-
## Changes
116-
- Added `main.py` with minimal Kivy app structure
117-
- Added `buildozer.spec` for Android build configuration
118-
- Added `requirements.txt` with Python dependencies
119-
- Created initial directory structure for assets and source code
120-
121-
Please review and merge to proceed with the build process.
122-
labels: |
123-
automated
124-
scaffold
107+
env:
108+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109+
run: |
110+
gh pr create \
111+
--title "Auto-scaffold: Add minimal Kivy app and buildozer config" \
112+
--body "This PR was automatically created by the scaffold workflow.
113+
114+
## Changes
115+
- Added main.py with minimal Kivy app structure
116+
- Added buildozer.spec for Android build configuration
117+
- Added requirements.txt with Python dependencies
118+
- Created initial directory structure for assets and source code
119+
120+
Please review and merge to proceed with the build process." \
121+
--label "automated" \
122+
--label "scaffold" \
123+
--head "${{ steps.scaffold.outputs.branch_name }}" \
124+
--base main
125125
126126
- name: Install OS packages
127127
if: steps.scaffold.outputs.scaffolded != '1'

0 commit comments

Comments
 (0)