Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to deploy only on successful CI events #188

Open
sedan07 opened this issue Feb 5, 2025 · 0 comments
Open

Add option to deploy only on successful CI events #188

sedan07 opened this issue Feb 5, 2025 · 0 comments

Comments

@sedan07
Copy link

sedan07 commented Feb 5, 2025

Currently the webhook seems to handle either push or pipeline/workflow run events and it already captures the status of the workflow run. But it doesn't seem to use this value as far as I can see. So currently if your puppet-control repo has a test workflow in GitHub then the webhook will get triggered 3 times (requested, in_progress and completed). But ideally it would ignore the first two and only deploy the environment/module if the workflow succeeds. Thus ensuring only environments/modules passing CI would get deployed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant