mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-26 21:24:15 +01:00
Check whether the Pull Request is regulated (#142)
This commit is contained in:
parent
105a778eee
commit
bfc2fad49f
12
.github/pull_request_template.md
vendored
Normal file
12
.github/pull_request_template.md
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<!--
|
||||
Please include a summary of the change and which issue is fixed.
|
||||
Also make sure you've tested your code and also done a self-review of it.
|
||||
Don't forget to check all base themes and tablet mode for relevant changes.
|
||||
|
||||
DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.
|
||||
-->
|
||||
|
||||
Checklist
|
||||
|
||||
- [ ] Referenced all related issues in the PR body (e.g. "Closes #xyz")
|
||||
- [ ] Have tested the modifications
|
25
.github/workflows/pull_request_check.yml
vendored
Normal file
25
.github/workflows/pull_request_check.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Pull Request checker
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
autoclose:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Pull Request
|
||||
uses: tachiyomiorg/issue-moderator-action@v1
|
||||
with:
|
||||
auto-close-rules: |
|
||||
[
|
||||
{
|
||||
"type": "body",
|
||||
"regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*",
|
||||
"message": "The acknowledgment section was not removed."
|
||||
}
|
||||
]
|
||||
auto-close-ignore-label: |
|
||||
do-not-autoclose
|
||||
bug
|
||||
enhancement
|
Loading…
Reference in New Issue
Block a user