From 17688aa598cb676e751dbfe36fe361faead28919 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 17:54:50 +0000 Subject: [PATCH 1/2] chore(deps): bump the all-dependencies group with 3 updates Bumps the all-dependencies group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v7) Updates `actions/upload-artifact` from 4 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v7) Updates `actions/download-artifact` from 4 to 8 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-dependencies - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-dependencies - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01c704aa..64c11833 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: timeout-minutes: 20 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }} @@ -56,7 +56,7 @@ jobs: shell: pwsh - name: Upload refreshed manifest - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: psd1 path: PSWriteHTML.psd1 @@ -68,10 +68,10 @@ jobs: timeout-minutes: 20 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Download manifest - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: psd1 path: . @@ -94,10 +94,10 @@ jobs: timeout-minutes: 20 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Download manifest - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: psd1 path: . @@ -120,10 +120,10 @@ jobs: timeout-minutes: 20 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Download manifest - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: psd1 path: . @@ -153,10 +153,10 @@ jobs: timeout-minutes: 20 steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Download manifest - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: psd1 path: . From 482bdc71e9eb7de17fc401dcd41981641c241cbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20K=C5=82ys?= Date: Mon, 10 Aug 2026 21:51:39 +0200 Subject: [PATCH 2/2] fix(ci): skip PSD1 push when manifest is unchanged --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64c11833..5c6823b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,15 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" git add PSWriteHTML.psd1 - git commit -m "chore: regenerate psd1" || echo "No changes to commit" - git push origin HEAD:$Env:HEAD_BRANCH + git diff --cached --quiet + if ($LASTEXITCODE -eq 0) { + Write-Host "No PSD1 changes to commit." + } elseif ($LASTEXITCODE -eq 1) { + git commit -m "chore: regenerate psd1" + git push origin HEAD:$Env:HEAD_BRANCH + } else { + throw "Unable to inspect staged PSD1 changes (git exit code $LASTEXITCODE)." + } shell: pwsh - name: Upload refreshed manifest