mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
Create pr instead of commit
This commit is contained in:
parent
1bfa6839e2
commit
14419cbd02
16
.github/workflows/update_protobufs.yml
vendored
16
.github/workflows/update_protobufs.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Update Submodule
|
||||
- name: Update submodule
|
||||
run: |
|
||||
git submodule update --remote proto
|
||||
|
||||
@ -25,11 +25,9 @@ jobs:
|
||||
run: |
|
||||
./bin/regen-protos.sh
|
||||
|
||||
- name: Commit update
|
||||
run: |
|
||||
git config --global user.name 'github-actions'
|
||||
git config --global user.email 'bot@noreply.github.com'
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
|
||||
git add proto
|
||||
git add src/mesh
|
||||
git commit -m "Update protobuf submodule" && git push || echo "No changes to commit"
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request@v3
|
||||
with:
|
||||
add-paths: |
|
||||
proto
|
||||
src/mesh
|
||||
|
Loading…
Reference in New Issue
Block a user