Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/Action-Test-Prerelease.yml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 1 addition & 6 deletions .github/workflows/Action-Test.yml
Original file line number Diff line number Diff line change
@@ -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 * * *'
Expand All @@ -31,4 +27,3 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
with:
runs-on: ${{ matrix.os }}
Prerelease: ${{ inputs.Prerelease }}
24 changes: 24 additions & 0 deletions .github/workflows/TestWorkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down
Loading