Skip to content

Commit fe9724a

Browse files
committed
Change create PR for unity upgrade
1 parent 1f32c5b commit fe9724a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/upgrade-unity.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
restore-keys: Library-
3838

3939
- name: Build project
40-
uses: JohannesDeml/unity-builder@d19141044df950835040e83b2b6d443d10b16d13
40+
uses: JohannesDeml/unity-builder@no-quit-parameter
4141
env:
4242
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
4343
with:
@@ -50,3 +50,14 @@ jobs:
5050

5151
- name: Log git status
5252
run: git status
53+
54+
- name: Create Pull Request
55+
uses: peter-evans/create-pull-request@v4
56+
with:
57+
token: ${{ secrets.PR_GITHUB_TOKEN }}
58+
commit-message: "[Automated workflow] upgrade-unity to $UNITY_VERSION"
59+
branch: "ci/upgrade-unity/$UNITY_VERSION"
60+
delete-branch: true
61+
title: "[Automated Pull Request] upgrade-unity to $UNITY_VERSION"
62+
env:
63+
UNITY_VERSION: ${{ inputs.unityVersion }}

0 commit comments

Comments
 (0)