From 9ced733fdd2aac77005f753f5014fb872b2600cf Mon Sep 17 00:00:00 2001 From: Jeff Brown Tech Date: Tue, 21 Apr 2026 09:50:14 -0700 Subject: [PATCH] Add checkout step and correct git add path --- .github/workflows/merge_main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge_main.yml b/.github/workflows/merge_main.yml index 7315181..70334c3 100644 --- a/.github/workflows/merge_main.yml +++ b/.github/workflows/merge_main.yml @@ -13,6 +13,9 @@ jobs: contents: write pull-requests: write steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Install Modules shell: pwsh run: | @@ -20,7 +23,8 @@ jobs: - name: Generate XML Help shell: pwsh - run: New-ExternalHelp -Path "./docs" -OutputPath "./src/PowerAzPlus" -Force + run: | + New-ExternalHelp -Path "./docs" -OutputPath "./src/PowerAzPlus" -Force - name: Commit and Push Help Updates shell: pwsh @@ -29,7 +33,7 @@ jobs: git config user.name "GitHub Actions" git fetch origin ${{ github.head_ref }} git checkout ${{ github.head_ref }} - git add PowerAzPlus-help.xml + git add ./src/PowerAzPlus/PowerAzPlus-help.xml if (!(git diff --cached --quiet)) { git commit -m "update help documentation" git push origin ${{ github.head_ref }}