From a863a619419881e831a6556fa5e77dae746ff031 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 20 Jul 2025 22:06:38 +0300 Subject: [PATCH] chore: Added pull request template & updated workflow (#2052) --- .github/PULL_REQUEST_TEMPLATE.md | 49 ++++++++++++++++++++++++++++++++ .github/workflows/ci.yml | 11 ++++--- 2 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..c9f61d6d4 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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._ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 124337122..aec956ad7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}