Open sachinmane1983 opened 4 weeks ago
i have created this workflow using this action to measure deployment frequency for multiple repos `name: CI
on: push: branches: [ "main" ] pull_request: branches: [ "main" ] workflow_dispatch:
jobs: build: runs-on: ubuntu-latest steps:
name: Checkout repository uses: actions/checkout@v4
name: Generate deployment frequency markdown file id: deployment-frequency uses: DeveloperMetrics/deployment-frequency@main with: workflows: 'CI' actions-token: "${{ secrets.GITHUB_TOKEN }}" number-of-days: 7 owner-repo: | KHQ/advice-auditing-frontend KHQ/advice-audit-data KQ/advice-auditing-server
name: Display deployment frequency run: | echo "Deployment frequency over the last 7 days:" cat ${{ steps.deployment-frequency.outputs.markdown-file }}
`
but its saying that Run $result = /home/runner/work/_actions/DeveloperMetrics/deployment-frequency/main/src/deploymentfrequency.ps1 -ownerRepo "KHQ/advice-auditing-frontend $result = /home/runner/work/_actions/DeveloperMetrics/deployment-frequency/main/src/deploymentfrequency.ps1 -ownerRepo "KHQ/advice-auditing-frontend KHQ/advice-audit-data KHQ/advice-auditing-server " -workflows "CI" -branch "main" -numberOfDays 7 -patToken "" -actionsToken "***" -appId "" -appInstallationId "" -appPrivateKey "" $filePath="dora-deployment-frequency-markdown.md" Set-Content -Path $filePath -Value $result "markdown-file=$filePath" | Out-File -FilePath $env:GITHUB_OUTPUT -Append Write-Output $result >> $env:GITHUB_STEP_SUMMARY shell: /usr/bin/pwsh -command ". '{0}'" Owner/Repo: KHQ/advice-auditing-frontend KHQ Workflows: CI Branch: main Number of days: 7 Authentication detected: GITHUB TOKEN Repo is not found or you do not have access
I have been thinking about this one a lot lately. I do think it's a good one to prioritize.