amgdy/Copilot FinOps
Apply GitHub Copilot AI-credit budgets from a versioned v3 config file.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 6, 2026
- License
- MIT
Pinned Snippet
uses: amgdy/copilot-finops-automation@0d3c170a0f26c695879de43f00fd646b4642f4df # v3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| operation | What to do: 'apply' (apply desired budget state; dry-run previews the drift/audit) or 'validate' (config lint only, no token or API). | no | apply |
| config-file | Path to the v3 config file. | no | config/copilot-finops.yml |
| dry-run | apply only: preview changes and report the drift without writing. Ignored by validate. Default true. | no | true |
| enterprise | Target enterprise slug. Required for apply; ignored by validate. Supply from a repo/org Variable, not a secret. Not a config field. | no | "" |
| token | GitHub token. apply needs admin:enterprise; validate needs none. | no | ${{ github.token }} |
| max-retries | Max retries when a GitHub API call is rate-limited (honors retry-after, else exponential backoff). apply only. Default 10. | no | 10 |
| log-level | Live step log level: off, error, warn, info, or debug. info prints apply progress and the plain-text report; debug adds resolution, matching, payload, request, retry, and pagination detail with sensitive fields redacted. Default info; the job summary still contains the full apply report. | no | info |
Outputs
| name | description |
|---|---|
| changed | true when at least one budget was (or, in dry-run, would be) created or updated. |
| summary-path | Path to the rendered markdown report. |