-
Notifications
You must be signed in to change notification settings - Fork 0
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
Protect all tags from deletions and updates after creation #1
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Mikaël Barbero <[email protected]>
This is your friendly self-service bot. Thank you for raising a pull request to update the configuration of your GitHub organization. The following conditions need to fulfilled for auto-merging to be available:
Otterdog commands and optionsYou can trigger otterdog actions by commenting on this PR:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is your friendly self-service bot.
In order to automatically merge and apply the changes, add a comment |
@eclipse-californium/iot-californium-project-leads, this PR comes as a suggestion from a discussion with @boaks. Feel free to ask questions. |
Signed-off-by: Thomas Neidhart <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
To be frank: I wrote in the "future", which is mainly caused by being busy with other tasks. In the past we have only removed tags, if they were created in the scope of "test runs for the build system". Or if something during the release failed. With that, I would only freeze a tag after the release has successfully published in the eclipse repo and maven central. But also that, please postpone this. |
Of course, we understand that this may feel intrusive and not the best time to try new workflows. I would just like to conclude by mentioning that these rules can be created in evaluate mode, which means they don't block anything; they simply report information when triggered. It’s a good first step to refine the workflow according to your needs. What do you think? |
Signed-off-by: Thomas Neidhart <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Thomas Neidhart <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Thomas Neidhart <[email protected]>
Please find below the validation of the requested configuration changes: Diff for 5e8630fProject iot.californium[github_id=eclipse-californium]
!
! Warning: repository[name="californium.tools"] has 'gh_pages_build_type' with value 'legacy', but no
! corresponding 'github-pages' environment, please add such an environment.
!
there have been 5 validation infos, enable verbose output to display them.
+ add repo_ruleset[name="tags-protection", repository=californium] {
+ allows_creations = true
+ allows_deletions = false
+ allows_force_pushes = false
+ allows_updates = false
+ bypass_actors = []
+ enforcement = "active"
+ exclude_refs = []
+ include_refs = [
+ "~ALL"
+ ],
+ name = "tags-protection"
+ requires_commit_signatures = false
+ requires_deployments = false
+ requires_linear_history = false
+ target = "tag"
+ }
+ add repo_ruleset[name="tags-protection", repository=californium.actinium] {
+ allows_creations = true
+ allows_deletions = false
+ allows_force_pushes = false
+ allows_updates = false
+ bypass_actors = []
+ enforcement = "active"
+ exclude_refs = []
+ include_refs = [
+ "~ALL"
+ ],
+ name = "tags-protection"
+ requires_commit_signatures = false
+ requires_deployments = false
+ requires_linear_history = false
+ target = "tag"
+ }
+ add repo_ruleset[name="tags-protection", repository=californium.tools] {
+ allows_creations = true
+ allows_deletions = false
+ allows_force_pushes = false
+ allows_updates = false
+ bypass_actors = []
+ enforcement = "active"
+ exclude_refs = []
+ include_refs = [
+ "~ALL"
+ ],
+ name = "tags-protection"
+ requires_commit_signatures = false
+ requires_deployments = false
+ requires_linear_history = false
+ target = "tag"
+ }
Plan: 3 to add, 0 to change, 0 to delete. |
No description provided.