diff --git a/.github/workflows/update-module-version.yaml b/.github/workflows/update-module-version.yaml index 7e92541..dc6c130 100644 --- a/.github/workflows/update-module-version.yaml +++ b/.github/workflows/update-module-version.yaml @@ -4,6 +4,7 @@ on: push: branches: - develop # Trigger on pushes to the main branch + workflow_dispatch: jobs: update_module_version: @@ -29,8 +30,15 @@ jobs: run: | perl -pi -e 's/[0-9]\.[0-9]\.[0-9]/${{ steps.version_tracker.outputs.version }}/' DevSetup/DevSetup.psd1 - - name: Commit and push changes - uses: stefanzweifel/git-auto-commit-action@v5 +# - name: Commit and push changes +# uses: stefanzweifel/git-auto-commit-action@v5 +# with: +# commit_message: "Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1" +# branch: + - name: Create Pull Request + uses: peter-evans/create-pull-request@v7 with: - commit_message: "Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1" - branch: develop \ No newline at end of file + commit-message: Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1 + title: Automated Release Tagging for ${{ steps.version_tracker.outputs.version }} in DevSetup.psd1 + body: Changing version to ${{ steps.version_tracker.outputs.version }} + branch: update-release-version-to-${{ steps.version_tracker.outputs.version }} \ No newline at end of file diff --git a/DevSetup/Private/Providers/Homebrew/Install-Homebrew.Tests.ps1 b/DevSetup/Private/Providers/Homebrew/Install-Homebrew.Tests.ps1 index 095ed4c..85368e4 100644 --- a/DevSetup/Private/Providers/Homebrew/Install-Homebrew.Tests.ps1 +++ b/DevSetup/Private/Providers/Homebrew/Install-Homebrew.Tests.ps1 @@ -50,7 +50,7 @@ Describe "Install-Homebrew" { Param($Name) switch($Name) { "SHELL" { return "/bin/bash" } - "HOME" { return "/Users/TestUser" } + "HOME" { return "/home/testuser" } } } Mock Add-Content { }