Skip to content

Codeception for 11.x#18887

Merged
bluvulture merged 5 commits into12.xfrom
codeception_11x
Dec 17, 2025
Merged

Codeception for 11.x#18887
bluvulture merged 5 commits into12.xfrom
codeception_11x

Conversation

@bluvulture
Copy link
Copy Markdown
Contributor

@bluvulture bluvulture requested a review from Copilot December 16, 2025 08:43
@github-actions
Copy link
Copy Markdown

Review Checklist

  • Target branch (11.5 for bug fixes, others 12.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new GitHub Actions workflow configuration for running Codeception tests specifically for the 11.x branch family. The workflow is designed to handle the changes announced in the GitHub blog post regarding pull_request_target and environment branch protections.

Key Changes:

  • Introduces a dedicated Codeception workflow for 11.x maintenance branches
  • Configures matrix testing across PHP 8.1, 8.2, and 8.3 with various database combinations
  • Uses the centralized reusable workflow pattern already established in the repository

bluvulture and others added 3 commits December 16, 2025 09:53
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

Comment on lines +9 to +16
- "11.5"
paths-ignore:
- 'doc/**'
- 'bundles/**/public/**'
push:
branches:
- "11.*"
- "11.5"
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The branch pattern "11.5" doesn't match the pattern "11.". The "11.5" pattern will only match exactly "11.5", while "11." will match "11.0", "11.1", etc. but not "11.5" itself. Either use "11.[0-9]+" or list specific branches like "11.4", "11.5", "11.6".

Suggested change
- "11.5"
paths-ignore:
- 'doc/**'
- 'bundles/**/public/**'
push:
branches:
- "11.*"
- "11.5"
paths-ignore:
- 'doc/**'
- 'bundles/**/public/**'
push:
branches:
- "11.*"

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

- 'doc/**'
- 'bundles/**/public/**'
permissions:
contents: read
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The permissions block should be followed by a blank line for consistency with the existing codeception.yaml file and standard YAML formatting practices. Currently missing a blank line between line 19 and line 20.

Suggested change
contents: read
contents: read

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

@kingjia90 kingjia90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and can be easily reverted (deleting the 11.x specific workflow) once Github fixes it

@bluvulture bluvulture merged commit d68e77f into 12.x Dec 17, 2025
22 checks passed
@bluvulture bluvulture deleted the codeception_11x branch December 17, 2025 15:22
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants