Skip to content

Commit f75443f

Browse files
committed
change pr logic
1 parent d1392bf commit f75443f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/generate_bindings.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
OUTPUT_PATH: ${{ github.workspace }}/crates/bevy_mod_scripting_functions/src/bevy/
1919
BEVY_FEATURES: bevy_asset,bevy_animation,bevy_core_pipeline,bevy_ui,bevy_pbr,bevy_render,bevy_text,bevy_sprite,file_watcher,multi_threaded
2020
BRANCH_NAME: update-bevy-bindings-${{ github.run_id }}
21+
GH_TOKEN: ${{ github.token }}
2122
jobs:
2223
generate_bindings:
2324
permissions:
@@ -68,4 +69,4 @@ jobs:
6869
git push -u origin ${{ env.BRANCH_NAME }} --force
6970
- name: Create Or Update PR
7071
run: |
71-
gh pr create --title "chore(codegen): update bevy bindings" --body "This PR updates the bevy bindings" --base ${{ github.ref }} --head update-bevy-bindings-${{ github.run_id }}-$GITHUB_RUN_ATTEMPT || true
72+
gh pr create --title "chore(codegen): update bevy bindings" --body "This PR updates the bevy bindings. #${{ github.event.number }}" --base ${{ github.ref }} --head ${{ env.BRANCH_NAME }} || true

0 commit comments

Comments
 (0)