Skip to content

Commit

Permalink
Code freeze rules (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored Nov 13, 2024
1 parent 0d75dff commit 43f92c6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,28 @@ pull_request_rules:
remove:
- rebase

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

0 comments on commit 43f92c6

Please sign in to comment.