Skip to content
Closed
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
28 changes: 14 additions & 14 deletions .github/workflows/ci.yaml → .github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: CI
name: Backend CI

on:
push:
branches:
- '[0-9]+.[0-9]+'
- master
- main
pull_request: ~
workflow_dispatch: ~

jobs:
tests:
name: Tests
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-26.04"
timeout-minutes: 5
continue-on-error: ${{ matrix.experimental }}

Expand All @@ -30,23 +31,22 @@
experimental: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
- uses: ibexa/gh-workflows/actions/composer-install@main

Check failure on line 36 in .github/workflows/backend-ci.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_code-style&issues=AaByy7gb2LtVLwNyt6Cw&open=AaByy7gb2LtVLwNyt6Cw&pullRequest=23
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: pdo_sqlite, gd
tools: cs2pr

- uses: "ramsey/composer-install@v1"
with:
dependency-versions: "highest"
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}
composer-options: "--prefer-dist --no-progress --no-suggest ${{ matrix.composer_options }}"

- name: Run PHPStan analysis
run: composer run-script phpstan

- name: Run code style check
run: composer run-script check-cs -- --format=checkstyle | cs2pr
shell: bash
run: |
set -euo pipefail
composer run-script check-cs -- --format=checkstyle | cs2pr
12 changes: 12 additions & 0 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR check
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited

jobs:
test-base-branch:
uses: ibexa/gh-workflows/.github/workflows/pr-check.yml@main

Check failure on line 12 in .github/workflows/pr-check.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_code-style&issues=AaByy7gS2LtVLwNyt6Cv&open=AaByy7gS2LtVLwNyt6Cv&pullRequest=23
13 changes: 13 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Call Automatic Changelog Generator for tag Workflow

on:
push:
tags:
- 'v*'
- '!v*-alpha*'

jobs:
create_release_for_tag:
uses: ibexa/gh-workflows/.github/workflows/release_bundle.yml@main

Check failure on line 11 in .github/workflows/release.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_code-style&issues=AaByy7gj2LtVLwNyt6Cx&open=AaByy7gj2LtVLwNyt6Cx&pullRequest=23
secrets:
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
15 changes: 15 additions & 0 deletions .github/workflows/reviewers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: On PR Review Requested

on:
pull_request:
types: [review_requested]

jobs:
call-expand-team-reviewers:
if: ${{ github.event.requested_team }}
uses: ibexa/gh-workflows/.github/workflows/expand-team-reviewers.yml@main

Check failure on line 10 in .github/workflows/reviewers.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_code-style&issues=AaByy7eK2LtVLwNyt6Cu&open=AaByy7eK2LtVLwNyt6Cu&pullRequest=23
with:
requested_team: ${{ github.event.requested_team.slug }}
pull_request_number: ${{ github.event.pull_request.number }}
repository: ${{ github.repository }}
secrets: inherit

Check warning on line 15 in .github/workflows/reviewers.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Only pass required secrets to this workflow.

See more on https://sonarcloud.io/project/issues?id=ibexa_code-style&issues=AaByy7eK2LtVLwNyt6Ct&open=AaByy7eK2LtVLwNyt6Ct&pullRequest=23
Loading