summaryrefslogtreecommitdiff
path: root/.github/workflows/php-code-quality.yml
diff options
context:
space:
mode:
authorsupahgreg <supahgreg@users.noreply.github.com>2025-10-05 00:10:57 +0000
committersupahgreg <supahgreg@users.noreply.github.com>2025-10-05 00:13:35 +0000
commitfc95bae2a6c5e4fea5a63bd159462df172e9ed53 (patch)
treee9691732427333f447542825d160194e2598cc4c /.github/workflows/php-code-quality.yml
parentc3f3eb8387be192a65d492305f02ad0ed1a9403e (diff)
Add a Publish workflow.
Diffstat (limited to '.github/workflows/php-code-quality.yml')
-rw-r--r--.github/workflows/php-code-quality.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml
index 9f599eed5..69d827120 100644
--- a/.github/workflows/php-code-quality.yml
+++ b/.github/workflows/php-code-quality.yml
@@ -15,20 +15,25 @@ on:
- 'phpunit.xml'
# Allow manual triggering
workflow_dispatch:
+ # Allow other workflows (e.g. Publish) to invoke this one.
+ workflow_call:
+
env:
fail-fast: true
+
permissions:
contents: read
+
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- - name: Checkout code
+ - name: Check out code
uses: actions/checkout@v5
- name: Set up PHP
@@ -55,7 +60,7 @@ jobs:
experimental: true
steps:
- - name: Checkout code
+ - name: Check out code
uses: actions/checkout@v5
- name: Set up PHP ${{ matrix.php }}