Skip to content

Commit 43f92c6

Browse files
authored
Code freeze rules (#134)
1 parent 0d75dff commit 43f92c6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/mergify.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,28 @@ pull_request_rules:
510510
remove:
511511
- rebase
512512

513+
- name: "Comment on PRs during code freeze and close them"
514+
conditions:
515+
- and:
516+
- "base=main" # or whichever branch the freeze applies to
517+
- "created-at > 2024-11-12" # Start date of the code freeze
518+
- "repository-full-name=cloudposse/terraform-aws-components" # Apply only to cloudposse/terraform-aws-components
519+
actions:
520+
comment:
521+
message: |
522+
> [!WARNING]
523+
> #### Migration of Components to a New GitHub Organization
524+
> **CODE FREEZE 11/12 - 11/17**
525+
> We are in the process of migrating each component in this repository to individual repositories under a new GitHub organization.
526+
> This change aims to improve the stability, maintainability, and usability of our components.
527+
>
528+
> [Learn more](https://github.com/cloudposse/terraform-aws-components/issues/1177) about the migration and what to expect.
529+
close:
530+
message: |
531+
This pull request has been closed due to an active **code freeze** during the migration of components to a new GitHub organization.
532+
Please reopen it after **11/17** in the new repository under [Cloud Posse's Terraform Component GitHub Organization](https://github.com/cloudposse-terraform-components),
533+
if still applicable. Thank you for your understanding.
534+
513535
#- name: mergeable
514536
# conditions:
515537
# - and: *is_open

0 commit comments

Comments
 (0)