diff --git a/tools/Get-GitHubActions.ps1 b/tools/Get-GitHubActions.ps1 new file mode 100644 index 000000000..93751b9f4 --- /dev/null +++ b/tools/Get-GitHubActions.ps1 @@ -0,0 +1,8 @@ +#!/usr/bin/env pwsh + +Set-StrictMode -Version 3.0 + +Get-Content -Path (Resolve-Path -Path $PSScriptRoot\..\.github\workflows\*.yml) + | Select-String -Pattern '(?:uses: +)(?.*)$' -NoEmphasis + | ForEach-Object { $_.Matches[0].Groups['action'].Value } + | Sort-Object -Unique