diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index fbaa046..77b6918 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -1,4 +1,3 @@ -# checkov:skip=CKV_GHA_7:Using tag references for better readability and maintenance name: Action-Test run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" diff --git a/.github/workflows/TestWorkflow.yml b/.github/workflows/TestWorkflow.yml index 18aa01f..71831dc 100644 --- a/.github/workflows/TestWorkflow.yml +++ b/.github/workflows/TestWorkflow.yml @@ -10,6 +10,11 @@ on: required: false type: boolean default: false + Owner: + description: The owner of the repository + required: false + type: string + default: PSModule secrets: TEST_USER_PAT: description: Personal Access Token for the test user @@ -412,7 +417,7 @@ jobs: } LogGroup 'Get-GitHubRepository' { - Get-GitHubRepository | Out-String + Get-GitHubRepository -Owner '${{ inputs.Owner }}' | Out-String } ActionTestWithUSERFGPAT: @@ -438,7 +443,7 @@ jobs: } LogGroup 'Get-GitHubRepository' { - Get-GitHubRepository | Out-String + Get-GitHubRepository -Owner '${{ inputs.Owner }}' | Out-String } ActionTestWithORGFGPAT: @@ -464,7 +469,7 @@ jobs: } LogGroup 'Get-GitHubRepository' { - Get-GitHubRepository | Out-String + Get-GitHubRepository -Owner '${{ inputs.Owner }}' | Out-String } ActionTestWithGitHubAppEnt: