Skip to content

Commit

Permalink
Fix indentation error (#26)
Browse files Browse the repository at this point in the history
* add automation for update modules

* fix duplication runon

* indentation error
  • Loading branch information
singhgss authored Dec 7, 2023
1 parent 023fb0c commit 9588cc7
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/auto-update-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,24 +140,24 @@ jobs:
- name: Download signed ps scripts and zipped modules
uses: actions/download-artifact@v3
with:
name: ${{ env.ARTIFACT_NAME }}
path: .

- name: Create and checkout dynamic branch
run: |
# 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 commit -m "Update Modules"
- name: Push changes to dynamic feature branch
run: |
# Push the changes to the dynamic feature branch
git push origin "$branch_name"
- name: Create PR
run: |
# Use GitHub CLI to create a pull request
gh pr create --base main --head "$branch_name" --title "Update Modules Pre Release" --body "Updating Modules Pre Release"
name: ${{ env.ARTIFACT_NAME }}
path: .

- name: Create and checkout dynamic branch
run: |
# 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 commit -m "Update Modules"
- name: Push changes to dynamic feature branch
run: |
# Push the changes to the dynamic feature branch
git push origin "$branch_name"
- name: Create PR
run: |
# Use GitHub CLI to create a pull request
gh pr create --base main --head "$branch_name" --title "Update Modules Pre Release" --body "Updating Modules Pre Release"

0 comments on commit 9588cc7

Please sign in to comment.