Skip to content

Commit 2095654

Browse files
Use the GH token on tests
1 parent 334bdbe commit 2095654

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/Process-PSModule.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
Path: 'outputs'
9595
ErrorAction: ${{ inputs.TestModuleErrorAction }}
9696
CustomTestsPath: 'tests'
97+
env:
98+
GH_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication
9799

98100
- name: Publish module
99101
uses: PSModule/Publish-PSModule@main

0 commit comments

Comments
 (0)