diff --git a/.github/workflows/Action-Test-Prerelease.yml b/.github/workflows/Action-Test-Prerelease.yml new file mode 100644 index 0000000..eb1c725 --- /dev/null +++ b/.github/workflows/Action-Test-Prerelease.yml @@ -0,0 +1,26 @@ +name: Action-Test-Prerelease + +run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" + +on: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + pull-requests: read + +jobs: + ActionTest: + uses: ./.github/workflows/TestWorkflow.yml + secrets: inherit + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + with: + runs-on: ${{ matrix.os }} + Prerelease: true diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index a19cc64..fbaa046 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -1,14 +1,10 @@ +# 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 }}" on: workflow_dispatch: - inputs: - Prerelease: - type: boolean - default: false - description: Use the prerelease version of GitHub PowerShell module. pull_request: schedule: - cron: '0 0 * * *' @@ -31,4 +27,3 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] with: runs-on: ${{ matrix.os }} - Prerelease: ${{ inputs.Prerelease }} diff --git a/.github/workflows/TestWorkflow.yml b/.github/workflows/TestWorkflow.yml index 28d7292..18aa01f 100644 --- a/.github/workflows/TestWorkflow.yml +++ b/.github/workflows/TestWorkflow.yml @@ -407,6 +407,14 @@ jobs: Get-GitHubUser | Format-Table -AutoSize | Out-String } + LogGroup 'Get-GitHubOrganization' { + Get-GitHubOrganization | Out-String + } + + LogGroup 'Get-GitHubRepository' { + Get-GitHubRepository | Out-String + } + ActionTestWithUSERFGPAT: name: WithUserFGPAT runs-on: ${{ inputs.runs-on }} @@ -425,6 +433,14 @@ jobs: Get-GitHubUser | Format-Table -AutoSize | Out-String } + LogGroup 'Get-GitHubOrganization' { + Get-GitHubOrganization | Out-String + } + + LogGroup 'Get-GitHubRepository' { + Get-GitHubRepository | Out-String + } + ActionTestWithORGFGPAT: name: WithOrgFGPAT runs-on: ${{ inputs.runs-on }} @@ -443,6 +459,14 @@ jobs: Get-GitHubUser | Format-Table -AutoSize | Out-String } + LogGroup 'Get-GitHubOrganization' { + Get-GitHubOrganization | Out-String + } + + LogGroup 'Get-GitHubRepository' { + Get-GitHubRepository | Out-String + } + ActionTestWithGitHubAppEnt: name: GitHubAppEnt runs-on: ${{ inputs.runs-on }}