Skip to content

Commit 29e12ea

Browse files
Today Rob will mainly be creating PRs for deployments so that Jess can approve them (#68)
* Remove permissions from deploy preview workflow for Pester Help Tests This change simplifies the workflow by removing unnecessary permissions that are not required for the deployment process. Additionally, it corrects the GitHub token secret reference to ensure proper access during the publish step. Thank you! * Update comment for ScriptsToProcess section Clarify the comment for the ScriptsToProcess section in the module manifest. This change enhances readability and understanding of the purpose of this section for future developers. Thank you!
1 parent 4d95898 commit 29e12ea

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/deploy-preview-module.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ env:
1919
testResultFolderName: testResults
2020

2121
name: Deploy Preview Module
22-
permissions:
23-
contents: write
24-
pull-requests: write
25-
actions: write
26-
checks: write
27-
deployments: write
2822

2923
# This workflow is triggered on push to the develop branch and deploys the module to the PowerShell Gallery as a preview version.
3024
jobs:
@@ -77,7 +71,7 @@ jobs:
7771
shell: pwsh
7872
run: ./build.ps1 -tasks publish
7973
env:
80-
GitHubToken: ${{ secrets.GITHUB_TOKEN }}
74+
GitHubToken: ${{ secrets.GITHUBTOKEN }}
8175
GalleryApiToken: ${{ secrets.GalleryApiToken }}
8276
ReleaseBranch: develop
8377
MainGitBranch: develop

source/FabricTools.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RequiredModules = @(
6464
# Assemblies that must be loaded prior to importing this module.
6565
# RequiredAssemblies = @()
6666

67-
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
67+
# Script files (.ps1) that are run in the caller's environment prior to importing this module
6868
# ScriptsToProcess = @()
6969

7070
# Type files (.ps1xml) to be loaded when importing this module

0 commit comments

Comments
 (0)