forked from tile-ai/tilelang
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 1.02 KB
/
pr-reminder-bot.yml
File metadata and controls
28 lines (26 loc) · 1.02 KB
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
26
27
28
name: PR Reminder Bot
on:
pull_request_target:
types:
- opened
jobs:
remind:
runs-on: ubuntu-latest
if: github.repository_owner == 'tile-ai'
steps:
- name: Remind
uses: actions/github-script@v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: '👋 Hi! Thank you for contributing to the **TileLang** project.\n\n' +
'Please remember to run `pre-commit run --all-files` in the root directory of the project ' +
'to ensure your changes are properly linted and formatted. ' +
'This will help ensure your contribution passes the format check.\n\n' +
'We appreciate you taking this step! ' +
'Our team will review your contribution, and we look forward to your awesome work! 🚀'
})