From 9ad27778c5b0391b1c2a436907b34443879aa74a Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Tue, 14 Apr 2026 16:06:54 +0000 Subject: [PATCH] Set today's date in automated PR Review prompt --- tools/pr_review.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/pr_review.py b/tools/pr_review.py index c0c8515f3..453d3cd04 100755 --- a/tools/pr_review.py +++ b/tools/pr_review.py @@ -14,6 +14,7 @@ # limitations under the License. import argparse +import datetime import os import sys @@ -71,8 +72,10 @@ def main(): sys.exit(1) # Construct the System Instruction + today_date = datetime.date.today().strftime("%A, %B %d, %Y") system_instruction = f"""You are an expert Google Cloud and Terraform code reviewer. Your task is to review a Pull Request diff for the Cloud Foundation Fabric repository. +Today's date is {today_date}. You MUST strictly enforce the repository's architecture, conventions, and style guidelines. Here are the repository guidelines you must follow: