amgdy/Copilot FinOps

Apply GitHub Copilot AI-credit budgets from a versioned v3 config file.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 6, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: amgdy/copilot-finops-automation@0d3c170a0f26c695879de43f00fd646b4642f4df # v3

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
operationWhat to do: 'apply' (apply desired budget state; dry-run previews the drift/audit) or 'validate' (config lint only, no token or API).noapply
config-filePath to the v3 config file.noconfig/copilot-finops.yml
dry-runapply only: preview changes and report the drift without writing. Ignored by validate. Default true.notrue
enterpriseTarget enterprise slug. Required for apply; ignored by validate. Supply from a repo/org Variable, not a secret. Not a config field.no""
tokenGitHub token. apply needs admin:enterprise; validate needs none.no${{ github.token }}
max-retriesMax retries when a GitHub API call is rate-limited (honors retry-after, else exponential backoff). apply only. Default 10.no10
log-levelLive 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.noinfo
namedescription
changedtrue when at least one budget was (or, in dry-run, would be) created or updated.
summary-pathPath to the rendered markdown report.