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

plugin: git (toggle skip ci) #8

Open
pauby opened this issue Oct 31, 2022 · 0 comments
Open

plugin: git (toggle skip ci) #8

pauby opened this issue Oct 31, 2022 · 0 comments
Labels
Improvement Issues that enhances existing functionality, or adds new features

Comments

@pauby
Copy link
Member

pauby commented Oct 31, 2022

need a flag to toggle [skip ci]

Use case:
If CI (example Jenkins) is completely skipped with this flag, and a gitrepo is updated in a way unbeknownst to the CI server, then the CI server's concept of PREVIOUS_COMMIT will be the last commit it knows about.

In the case where [skip ci] is used, it would be the commits before AU ran, instead of the actual last commit.

So in this case the workaround is to allow AU to run thru CI/CD tools, and have a conditional that checks to see if this is an AU commit and noop it, providing a functionally equivlant outcome.

Issue migrated from majkinetor/au#197

@pauby pauby added the Improvement Issues that enhances existing functionality, or adds new features label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Issues that enhances existing functionality, or adds new features
Projects
None yet
Development

No branches or pull requests

1 participant