-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
feat: Add a new variable to control the creation of a lifecycle policy #4
feat: Add a new variable to control the creation of a lifecycle policy #4
Conversation
Co-authored-by: Bryant Biggs <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes @phr3nzii !
## [1.3.0](v1.2.0...v1.3.0) (2022-06-13) ### Features * Add a new variable to control the creation of a lifecycle policy ([#4](#4)) ([18c0515](18c0515))
This PR is included in version 1.3.0 🎉 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
create_lifecycle_policy
totrue
if you want a lifecycle policy to be created.create_repository_policy
variable to policy creationMotivation and Context
Sometimes a lifecycle policy isn't needed or wanted. This fixes #2
Closes #5
Breaking Changes
I wouldn't call this a breaking change. However, users who do want to have a lifecycle policy created will need to add the new variable to ensure that it is created.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull requestI have tested using the complete example by setting
create_lifecycle_policy
to bothtrue
andfalse
. I've also updated this example to ensure that the lifecycle policy is created in future.I also tested this using the reproduction code from #2