Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github(pull_request_template): remove How to test section #4576

Merged
merged 3 commits into from
Jan 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@ Thank you for creating a pull request to contribute to Hexo code! Before you ope



## How to test

```sh
git clone -b BRANCH https://github.com/USER/hexo.git
cd hexo
npm install
npm test
```

## Screenshots


Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/commenter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Commenter

on: [pull_request_target]

jobs:
commenter:
runs-on: ubuntu-latest
steps:
- name: Comment PR
uses: marocchino/sticky-pull-request-comment@v2
with:
message: |
## How to test

```sh
git clone -b ${{ github.head_ref }} https://github.com/${{ github.repository }}.git
cd hexo
npm install
npm test
```