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
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
audit:
name: Audit
# Dev-dependency advisories surface through Dependabot alerts instead of failing this gate.
uses: ahegyes/wordpress-configs/.github/workflows/reusable-supply-chain-audit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-supply-chain-audit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
npm-audit-flags: '--omit=dev --audit-level=high'
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
actions: read
contents: read
security-events: write
uses: ahegyes/wordpress-configs/.github/workflows/reusable-codeql.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-codeql.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
10 changes: 5 additions & 5 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ permissions:
jobs:
lint-php:
name: Lint PHP
uses: ahegyes/wordpress-configs/.github/workflows/reusable-php-lint.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-php-lint.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
scripts: '["lint:php:phpcs", "lint:php:phpcs:tests", "lint:php:phpstan"]'
scripts: '["lint:php:phpcs", "lint:php:phpcs:tests", "lint:php:phpstan", "changelog:validate"]'

php-syntax:
name: PHP syntax
uses: ahegyes/wordpress-configs/.github/workflows/reusable-php-syntax-check.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-php-syntax-check.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-versions: '["7.4"]'
paths: '["packages/bootstrap"]'
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
needs: consumer-a-build
permissions:
contents: read
uses: ahegyes/wordpress-configs/.github/workflows/reusable-plugin-check.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-plugin-check.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
artifact: consumer-a
plugin-slug: acme-consumer-a
Expand All @@ -73,7 +73,7 @@ jobs:
needs: consumer-a-build
permissions:
contents: read
uses: ahegyes/wordpress-configs/.github/workflows/reusable-php-syntax-check.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-php-syntax-check.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
artifact: consumer-a
php-versions: '["7.4"]'
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/split-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ on:
permissions:
contents: read

# Splits of one ref run in order, so an older run never force-pushes over a newer split.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
split:
name: Split ${{ matrix.package.dir }} → ${{ matrix.package.repo }}
# A dispatch from another branch would force-push that branch's split over the mirrors' trunk.
if: github.ref == 'refs/heads/trunk' || startsWith( github.ref, 'refs/tags/v' )
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
integration:
name: Integration
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-version: '8.5'
wp-env-core: 'https://wordpress.org/nightly-builds/wordpress-latest.zip'
Expand All @@ -21,7 +21,7 @@ jobs:

integration-multisite:
name: Integration (multisite)
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-version: '8.5'
wp-env-core: 'https://wordpress.org/nightly-builds/wordpress-latest.zip'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
unit:
name: Unit
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-version: '8.5'
composer-script: 'test:unit'
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
fail-fast: false
matrix:
wp: ${{ fromJSON(needs.wordpress.outputs.versions) }}
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-version: '8.5'
wp-version: ${{ matrix.wp }}
Expand All @@ -61,7 +61,7 @@ jobs:
fail-fast: false
matrix:
wp: ${{ fromJSON(needs.wordpress.outputs.versions) }}
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-version: '8.5'
wp-version: ${{ matrix.wp }}
Expand All @@ -70,15 +70,15 @@ jobs:

integration-php74:
name: Integration (PHP 7.4)
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-version: '8.5'
composer-script: 'test:integration:php74:run'
wp-env-config-file: '.wp-env.php74.json'

prefer-lowest:
name: Prefer lowest
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-phpunit.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
with:
php-version: '8.5'
composer-script: 'test:integration:lowest:run'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
contents: read
security-events: write
actions: read
uses: ahegyes/wordpress-configs/.github/workflows/reusable-workflow-checks.yml@88710a71e2bcc7db7cb81b4eb96411438369ce0f
uses: ahegyes/wordpress-configs/.github/workflows/reusable-workflow-checks.yml@3cbd985255e76f8026644ccdee5be0b2b2da312b
Loading
Loading