Skip to content

Commit

Permalink
only commit ps modules and add git config
Browse files Browse the repository at this point in the history
  • Loading branch information
singhgss committed Dec 7, 2023
1 parent 9588cc7 commit 63253ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/auto-update-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,14 @@ jobs:

- name: Create and checkout dynamic branch
run: |
#Git config for creating PR
git config --global user.email "[email protected]"
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
Expand Down

0 comments on commit 63253ae

Please sign in to comment.