diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c77d3ea12f3..059c0f5b41d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - 4.x env: php-version: '8.2' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d77c0ebb0bb..b34fa6f0398 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: - next-major - beta - alpha + - 4.x workflow_dispatch: diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f2a29abf9ef..7467231868a 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,26 +1,26 @@ -# name: Static analysis +name: Static analysis -# on: -# pull_request: -# types: [opened, synchronize, reopened] +on: + pull_request: + types: [opened, synchronize, reopened] # workflow_run: # workflows: ['Compress images'] # types: [completed] -# env: -# php-version: '8.2' +env: + php-version: '8.2' # concurrency: # group: Static analysis ${{ github.ref }} # cancel-in-progress: true -# jobs: -# psalm: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout sources -# uses: actions/checkout@v4 +jobs: + psalm: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 # - name: Setup PHP ${{ env.php-version }} # uses: shivammathur/setup-php@v2 @@ -49,11 +49,11 @@ # run: vendor/bin/psalm --output-format=github -# phpstan: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout sources -# uses: actions/checkout@v4 + phpstan: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 # - name: Setup PHP ${{ env.php-version }} # uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dcc18e45297..c0b3d00121b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,7 +2,9 @@ name: Unit tests on: push: - branches: [main] + branches: + - main + - 4.x pull_request: types: [opened, synchronize, reopened] branches-ignore: ['l10n_main*']