-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 882 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Test Markdown Reviewer and Translator
on:
pull_request_review_comment:
types: [ created ]
jobs:
md-reviewr-translator:
runs-on: ubuntu-latest
name: A test job to run the Markdown Reviwer and Translator
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v4
- name: Test the md-reviewr-translator action
if: |
contains(github.event.comment.body, '/mtr-')
uses: ./ # Uses an action in the root directory
id: md-translator-reviewer
with:
aiApiKey: ${{ secrets.AI_API_KEY }}
aiProvider: google
translateCommitMessageTemplate: 'feat(*): add translation of file %file for language %lang'
applyReviewCommitMessageTemplate: 'fix(*): apply review suggestions for file %file'