Skip to content

Commit 0ef0ef2

Browse files
🩹 [CI]: Update CI workflow conditions to always run jobs and remove unnecessary permissions
1 parent 597f6e9 commit 0ef0ef2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ jobs:
180180

181181
Get-TestResults:
182182
name: Get-TestResults
183+
if: always() && !cancelled()
183184
needs:
184185
- Test-SourceCode
185186
- Test-Module
@@ -194,6 +195,7 @@ jobs:
194195

195196
Get-CodeCoverage:
196197
name: Get-CodeCoverage
198+
if: always() && !cancelled()
197199
needs:
198200
- Test-SourceCode
199201
- Test-Module

‎.github/workflows/workflow.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ permissions:
7272
contents: write # to checkout the repo and create releases on the repo
7373
pull-requests: write # to write comments to PRs
7474
statuses: write # to update the status of the workflow from linter
75-
pages: write # to deploy to Pages
76-
id-token: write # to verify the deployment originates from an appropriate source
7775

7876
jobs:
7977
Test-SourceCode:

0 commit comments

Comments
 (0)