Create pr instead of commit

pull/1157/head
Ben Meadors 2022-01-27 11:54:32 -06:00 zatwierdzone przez GitHub
rodzic 1bfa6839e2
commit 14419cbd02
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 7 dodań i 9 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ jobs:
with: with:
submodules: true submodules: true
- name: Update Submodule - name: Update submodule
run: | run: |
git submodule update --remote proto git submodule update --remote proto
@ -25,11 +25,9 @@ jobs:
run: | run: |
./bin/regen-protos.sh ./bin/regen-protos.sh
- name: Commit update - name: Create pull request
run: | uses: peter-evans/create-pull-request@v3
git config --global user.name 'github-actions' with:
git config --global user.email 'bot@noreply.github.com' add-paths: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} proto
git add proto src/mesh
git add src/mesh
git commit -m "Update protobuf submodule" && git push || echo "No changes to commit"