mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
chore: Added pull request template & updated workflow (#2052)
This commit is contained in:
parent
bb992fd81b
commit
a863a61941
2 changed files with 56 additions and 4 deletions
49
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
49
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,49 @@
|
|||
## 🚀 What’s this Pull Request?
|
||||
|
||||
Please describe the purpose and context of this PR. Is it a bugfix, a feature, a refactor, or maintenance?
|
||||
|
||||
- Type:
|
||||
- [ ] Bugfix
|
||||
- [ ] Feature
|
||||
- [ ] Refactor
|
||||
- [ ] Chore
|
||||
- [ ] Other
|
||||
- Related Issue(s): Closes #XXXX, Implements #XXXX
|
||||
|
||||
## ✅ What’s Changed?
|
||||
|
||||
Briefly summarize the changes you’ve made.
|
||||
|
||||
- ...
|
||||
- ...
|
||||
- ...
|
||||
|
||||
## 🔬 How to Test
|
||||
|
||||
Describe how a maintainer or reviewer can manually verify your changes.
|
||||
|
||||
1. ...
|
||||
2. ...
|
||||
3. ...
|
||||
|
||||
## 🧪 Tests
|
||||
|
||||
- [ ] Unit tests added or updated
|
||||
- [ ] No tests needed
|
||||
- [ ] Not applicable
|
||||
|
||||
## 📚 Documentation
|
||||
|
||||
- [ ] Updated relevant docs
|
||||
- [ ] No docs needed
|
||||
- [ ] Not applicable
|
||||
|
||||
## 💡 Additional Notes
|
||||
|
||||
- Compatibility concerns? (e.g., PHP version, tracker behavior, database migrations)
|
||||
- Any known limitations?
|
||||
- Anything reviewers should pay special attention to?
|
||||
|
||||
## 📸 UI / Frontend Changes (if applicable)
|
||||
|
||||
_Add screenshots, videos, or gif demos if you made UI changes._
|
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -51,18 +51,21 @@ jobs:
|
|||
name: 🎉 Deploy
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: 🚚 Get latest code
|
||||
- name: Checkout code 🗳
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🔩 Setup PHP
|
||||
- name: Setup PHP 🔩
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.1'
|
||||
|
||||
- name: 🖇 Install Composer dependencies
|
||||
- name: Update composer.lock file
|
||||
run: composer update --no-install
|
||||
|
||||
- name: Install Composer dependencies 🪚
|
||||
run: composer install --no-progress --prefer-dist --optimize-autoloader
|
||||
|
||||
- name: 📂 Sync files
|
||||
- name: Sync files 📂
|
||||
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
|
||||
with:
|
||||
server: ${{ secrets.FTP_SERVER }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue