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
11 changes: 9 additions & 2 deletions .github/workflows/auto-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: automatic review

on:
schedule:
- cron: '0 0 * * *'
- cron: '0 1 * * *'
push:
branches:
- develop
Expand All @@ -18,6 +18,10 @@ on:
- tests/**
- .github/workflows/auto-review.yml

concurrency:
group: auto-review-${{ github.ref }}
cancel-in-progress: true

jobs:
code:
name: Automatic Review on Code [PHP ${{ matrix.php-version }}]
Expand All @@ -26,8 +30,9 @@ jobs:

strategy:
fail-fast: false
# Run only on the highest supported PHP version to reduce API load
matrix:
php-version: ['8.2', '8.3', '8.4', '8.5']
php-version: ['8.5']

permissions:
pull-requests: read
Expand Down Expand Up @@ -59,6 +64,8 @@ jobs:

- name: Install dependencies
run: composer update --ansi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run Automatic Review Test Suite
run: vendor/bin/phpunit --color=always --group=auto-review
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
permissions:
contents: read

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

jobs:
main:
name: Build [PHP ${{ matrix.php-version }}]
Expand Down Expand Up @@ -64,6 +68,8 @@ jobs:

- name: Install dependencies
run: composer update --ansi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run Translations Test Suite
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: code style

on:
schedule:
- cron: '0 0 * * *'
- cron: '0 2 * * *'
push:
branches:
- develop
Expand All @@ -25,6 +25,10 @@ on:
permissions:
contents: read

concurrency:
group: code-style-${{ github.ref }}
cancel-in-progress: true

jobs:
main:
name: Code Style Check [PHP ${{ matrix.php-version }}]
Expand Down Expand Up @@ -62,6 +66,8 @@ jobs:

- name: Install dependencies on tools
run: composer update --ansi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run PHP CS Fixer
run: composer cs
4 changes: 3 additions & 1 deletion .github/workflows/generate-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
group: pages-deploy
cancel-in-progress: false

jobs:
Expand Down Expand Up @@ -54,6 +54,8 @@ jobs:

- name: Install dependencies
run: composer update --ansi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Pages
id: pages
Expand Down
Loading