Skip to content

Commit

Permalink
Update pester pest and workflow triggers (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari authored Oct 26, 2023
1 parent 7821a22 commit 769d211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/pester/release.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Describe "version.json file tests" {
}

It "version.json file releaseNotes property has been updated and URL last split on / does not match the latest git tag" {
$releaseNotesUrlSplitLast | Should -Be $gitRepoLatestTag
$releaseNotesUrlSplitLast | Should -Not -Be $gitRepoLatestTag
}

It "version.json file releaseNotes property is a valid URL and has the correct format" {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Pester Tests
id: pester
if: contains(github.head_ref, 'release')
if: startsWith(github.head_ref, 'release')
uses: azure/powershell@v1
with:
inlineScript: |
Expand Down

0 comments on commit 769d211

Please sign in to comment.