Skip to content

Commit b55b1b8

Browse files
fixing the test issues and resolving the merges
Thank you!
2 parents b93333d + adfd462 commit b55b1b8

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

.github/workflows/deploy-module.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
with:
3737
ref: ${{ github.head_ref }} # checkout the correct branch name
3838
fetch-depth: 0
39+
token: ${{ secrets.REPO_TOKEN }}
3940
- name: Install GitVersion
4041
uses: gittools/actions/gitversion/[email protected]
4142
with:
@@ -67,6 +68,7 @@ jobs:
6768
with:
6869
ref: ${{ github.head_ref }} # checkout the correct branch name
6970
fetch-depth: 0
71+
token: ${{ secrets.REPO_TOKEN }}
7072
- name: Download Build Artifact
7173
uses: actions/download-artifact@v4
7274
with:
@@ -78,6 +80,17 @@ jobs:
7880
env:
7981
GitHubToken: ${{ secrets.GitHubToken }}
8082
GalleryApiToken: ${{ secrets.GalleryApiToken }}
83+
- name: Merge main -> develop
84+
# This step merges the main branch into the develop branch after a successful deployment. This ensures that the develop branch includes the tag for the latest release.
85+
run: |
86+
git config --local user.email "[email protected]"
87+
git config --local user.name "Automated Jess Did this"
88+
git checkout main
89+
git pull
90+
git checkout develop
91+
git pull
92+
git merge --no-ff main -m "Auto-merge main back to dev"
93+
git push
8194
- name: Send Changelog PR
8295
shell: pwsh
8396
run: ./build.ps1 -tasks Create_ChangeLog_GitHub_PR
@@ -86,11 +99,3 @@ jobs:
8699
GalleryApiToken: ${{ secrets.GalleryApiToken }}
87100
ReleaseBranch: main
88101
MainGitBranch: main
89-
- name: Merge main -> develop
90-
# This step merges the main branch into the develop branch after a successful deployment. This ensures that the develop branch includes the tag for the latest release.
91-
uses: devmasx/[email protected]
92-
with:
93-
type: now
94-
from_branch: main
95-
target_branch: develop
96-
github_token: ${{ secrets.REPO_TOKEN }}

source/Public/Config/Get-FabricConfig.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Gets the configuration for use with all functions in the PSFabricTools module.
77
Gets the configuration for use with all functions in the PSFabricTools module.
88
99
.PARAMETER ConfigName
10-
The name of the configuration to retrieve.
10+
The name of the configuration to be retrieved.
1111
1212
.EXAMPLE
1313
PS> Get-FabricConfig
1414
15-
Gets all the configuration values for the PSFabricTools module and outputs them
15+
Gets all the configuration values for the PSFabricTools module and outputs them.
1616
1717
.EXAMPLE
1818
PS> Get-FabricConfig -ConfigName BaseUrl

source/Public/Config/Set-FabricConfig.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ Registers the specified Fabric Data Warehouse configuration for use with all fun
2525
.EXAMPLE
2626
PS> Set-FabricConfig -WorkspaceGUID 'GUID-GUID-GUID-GUID' -DataWarehouseGUID 'GUID-GUID-GUID-GUID' -SkipPersist
2727
28-
Registers the specified Fabric Data Warehouse configuration for use with all functions in the PSFabricTools module - but does not persist the values, only uses them for the current session.
28+
Registers the specified Fabric Data Warehouse configuration for use with all functions in the PSFabricTools module - but it does not persist the values, only uses them for the current session.
2929
3030
.NOTES
3131
3232
Author: Jess Pomfret
33-
3433
#>
3534

3635
function Set-FabricConfig {

source/Public/Get-SHA256.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function Get-Sha256 ($string) {
2-
<#
2+
<#
33
.SYNOPSIS
44
Calculates the SHA256 hash of a string.
55
@@ -19,7 +19,7 @@ The function creates a new SHA256CryptoServiceProvider object, converts the stri
1919
2020
Author: Ioana Bouariu
2121
22-
#>
22+
#>
2323

2424
# Create a new SHA256CryptoServiceProvider object.
2525
$sha256 = New-Object System.Security.Cryptography.SHA256CryptoServiceProvider

0 commit comments

Comments
 (0)