Run Python script in a Docker container based on Google Artifact Registry
Run a Python data script in a Docker container pulled from a private Google Artifact Registry repository.
Audits Woodpecker CI build pipelines for recurring test and deployment failures.
This workflow connects to the Woodpecker CI REST API (/api/repos/{owner}/{name}/builds) to audit recent pipeline build execution statuses. In modern continuous integration pipelines, consecutive build failures on primary branches indicate broken merge commits, test environment degradation, or docker registry pull authentication issues. This sentinel queries the build history, tallies consecutive non-success executions (failure, error, killed), and dispatches an incident notification to development teams when failures meet or exceed the alert threshold.
WOODPECKER_API_TOKEN secret.SLACK_WEBHOOK secret.WOODPECKER_API_TOKEN and SLACK_WEBHOOK secrets.woodpecker_server_url, repo_owner, and repo_name.POST /api/repos/{owner}/{name}/builds/{number}./api/repos/{owner}/{name}/builds/{number}.