ZIm/script/danger
Marshall Bowers 310ea43048
danger: Check for changes in prompt files (#31744)
This PR adds a Danger check to remind engineers that any changes to our
various prompts need to be verified against the LLM Worker.

When changes to the prompt files are detected, we will fail the PR with
a message:

<img width="929" alt="Screenshot 2025-05-30 at 8 40 58 AM"
src="https://github.com/user-attachments/assets/79afab4e-e799-45f1-a90e-0fd7c9a73706"
/>

Once the corresponding changes have been made (or no changes to the LLM
Worker have been determined to be necessary), including the indicated
attestation message will convert the errors into informational messages:

<img width="926" alt="Screenshot 2025-05-30 at 8 41 52 AM"
src="https://github.com/user-attachments/assets/ff51c17a-7a76-46a7-b468-a7d864d480c3"
/>

Release Notes:

- N/A
2025-05-30 13:46:41 +00:00
..
.gitignore Setup Danger (#6994) 2024-01-29 11:58:24 -05:00
dangerfile.ts danger: Check for changes in prompt files (#31744) 2025-05-30 13:46:41 +00:00
package.json Bump Danger's packages (#29422) 2025-04-25 15:21:58 +00:00
pnpm-lock.yaml Bump Danger's packages (#29422) 2025-04-25 15:21:58 +00:00