From 8f99258fc437267f01dcd8bd639229b3c6ab2258 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Mon, 22 Aug 2022 18:31:56 -0500 Subject: [PATCH] Update main_matrix.yml --- .github/workflows/main_matrix.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 40c14f265..8d29ab78c 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -488,13 +488,9 @@ jobs: run: >- bin/bump_version.py - - name: Commit updated version.properties - id: commit_updated - run: | - git config --global user.name 'thebentern' - git config --global user.email 'benmmeadors@gmail.com' - git remote set-url origin https://x-access-token:${{ secrets.ARTIFACTS_TOKEN }}@github.com/${{ github.repository }} - git add version.properties - git commit -m "Bump version" && git push -f || echo "No changes to commit" - git log -n 1 --pretty=format:"%H" | tail -n 1 | awk '{print "::set-output name=sha::"$0}' + - name: Create version.properties pull request + uses: peter-evans/create-pull-request@v3 + with: + add-paths: | + version.properties