Skip to content

Commit 4ea3ca2

Browse files
Merge pull request #139 from WarehouseFinds/copilot/fix-single-quote-psd1-formatting
Pass repo description via env var to prevent special characters breaking PSD1 manifest
2 parents 6353fb7 + 5d0e13a commit 4ea3ca2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/bootstrap.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
9898
- name: Generate new module manifest
9999
shell: pwsh
100+
env:
101+
REPO_DESCRIPTION: ${{ needs.get_repo_state.outputs.description }}
100102
run: |
101103
# Remove existing module manifest
102104
[void] (Remove-Item "src/PSScriptModule.psd1")
@@ -109,7 +111,7 @@ jobs:
109111
CompanyName = "${{ github.repository_owner }}"
110112
Copyright = "(c) ${{ github.repository_owner }}. All rights reserved."
111113
RootModule = "${{ github.event.repository.name }}.psm1"
112-
Description = "${{ needs.get_repo_state.outputs.description }}"
114+
Description = $env:REPO_DESCRIPTION
113115
ProjectUri = "https://github.com/${{ github.repository }}"
114116
LicenseUri = "https://github.com/${{ github.repository }}/blob/main/LICENSE"
115117
ReleaseNotes = "https://github.com/${{ github.repository }}/releases"

0 commit comments

Comments
 (0)