Skip to content
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
16 changes: 16 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check Conventional PR

on:
pull_request:
branches: [ 1.x, 2.x, 3.x, 4.x ]

jobs:
build:
name: Ensure Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: beemojs/conventional-pr-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
],
"require": {
"craftcms/cms": "^4.0.0-alpha",
"craftcms/cms": "^4.0.0",
"paragonie/random-lib": "^2.0"
},
"replace": {
Expand Down
4 changes: 2 additions & 2 deletions test-config/project/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ plugins:
magic-login:
edition: standard
enabled: true
schemaVersion: 1.0.0
schemaVersion: 2.0.0
system:
edition: pro
live: true
name: 'Craft test site'
schemaVersion: 3.7.9
schemaVersion: 4.5.3.0
timeZone: Europe/London
users:
allowPublicRegistration: true
Expand Down
1 change: 1 addition & 0 deletions tests/_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

// Use the current installation of Craft
define('CRAFT_TESTS_PATH', __DIR__);
define('CRAFT_ROOT_PATH', dirname(__DIR__) . '/_craft');
define('CRAFT_STORAGE_PATH', __DIR__ . '/_craft/storage');
define('CRAFT_TEMPLATES_PATH', __DIR__ . '/_craft/templates');
define('CRAFT_CONFIG_PATH', __DIR__ . '/_craft/config');
Expand Down