From 63253ae005b0751caba6f7ae5b0b2ba86e8a90a6 Mon Sep 17 00:00:00 2001 From: Gurpreet Singh Date: Thu, 7 Dec 2023 15:15:54 -0500 Subject: [PATCH] only commit ps modules and add git config --- .github/workflows/auto-update-modules.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-update-modules.yml b/.github/workflows/auto-update-modules.yml index 80f23252..58d2dae2 100644 --- a/.github/workflows/auto-update-modules.yml +++ b/.github/workflows/auto-update-modules.yml @@ -145,11 +145,14 @@ jobs: - name: Create and checkout dynamic branch run: | + #Git config for creating PR + git config --global user.email "you@example.com" + git config --global user.name "Your Name" # Create a dynamic branch name using the run_id or sha branch_name="update-modules-${{ github.run_id }}" git checkout -b "$branch_name" # Commit the changes - git add . + git add psmodules/* git commit -m "Update Modules" - name: Push changes to dynamic feature branch