-
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 1.32 KB
/
new-pull-request.yml
File metadata and controls
37 lines (31 loc) · 1.32 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
29
30
31
32
33
34
35
36
37
# This workflow automatically posts a guidance comment on new pull requests.
# It encourages contributors to include sanitized output from `es.debug` if relevant,
# helping maintainers review and test changes more efficiently.
name: New Pull Request Guidance
on:
pull_request_target:
types: [opened]
jobs:
guide:
runs-on: ubuntu-latest
# Explicitly define permissions required by the job
permissions:
pull-requests: write
steps:
- name: Post guidance comment on new PR
uses: peter-evans/create-or-update-comment@v5
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Thanks for contributing to EngineScript Site Exporter! 🎉
**Before we review:**
- [ ] Have you tested your changes with WordPress 6.5+?
- [ ] Are your changes compatible with PHP 7.4+?
- [ ] Have you followed WordPress coding standards?
- [ ] Did you update the CHANGELOG.md if needed?
**Security Reminder:**
This plugin handles sensitive site databases, so please ensure:
- All user inputs are properly sanitized
- All outputs are properly escaped
- No security vulnerabilities are introduced
We'll review your PR soon! 🚀