Merge emailDeliveryFailurePage translations #11361
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Presubmit Reviews | |
permissions: | |
contents: read | |
pull-requests: write | |
on: | |
pull_request_target: | |
types: [opened, synchronize, labeled] | |
pull_request_review_comment: | |
types: [created] | |
jobs: | |
review: | |
runs-on: ubuntu-latest | |
if: contains(github.event.pull_request.labels.*.name, 'AI Review') | |
steps: | |
- name: Checkout main to read rules | |
uses: actions/checkout@v4 | |
- name: Check required secrets | |
run: | | |
if [ -z "${{ secrets.LLM_API_KEY }}" ]; then | |
echo "Error: LLM_API_KEY secret is not configured" | |
exit 1 | |
fi | |
- name: Read RULES.md | |
id: read-rules | |
run: | | |
RULES_CONTENT=$(cat "contributingGuides/review/RULES.md") | |
{ | |
echo "content<<EOF" | |
echo "$RULES_CONTENT" | |
echo "EOF" | |
} >> "$GITHUB_OUTPUT" | |
- uses: Expensify/ai-reviewer@987adce514aa144560f36710225ea1c6164bf1af | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LLM_API_KEY: ${{ secrets.LLM_API_KEY }} | |
LLM_MODEL: "claude-3-7-sonnet-20250219" | |
with: | |
style_guide_rules: ${{ steps.read-rules.outputs.content }} |