Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Ensure failing php-cs-fixer within Github Action pipeline #384

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

sbuerk
Copy link
Contributor

@sbuerk sbuerk commented Dec 12, 2024

This change adds the dry-run flag (-n) to the php-cs-fixer
code-quality execution within the Github Action workflow file
to emit an non-zero exit code when changes are detected to
ensure failing job-run in this case.

Second commit applies php-cs-fixer to get the pipeline green,
which validates that it works again.

This change adds the dry-run flag (`-n`) to the php-cs-fixer
code-quality execution within the Github Action workflow file
to emit an non-zero exit code when changes are detected to
ensure failing job-run in this case.
This change applies `php-cs-fixer` modifications which
slipped into the code-base because the corresponding
code-quality check missed the dry-run flag and doesn't
fail when changes has been detected.
@sbuerk sbuerk added backport 4.x task A task for code improvement labels Dec 12, 2024
@sbuerk sbuerk self-assigned this Dec 12, 2024
@NarkNiro NarkNiro self-requested a review December 12, 2024 09:46
@sbuerk sbuerk merged commit 008cdad into main Dec 12, 2024
4 checks passed
@sbuerk sbuerk deleted the ensure-cgl branch December 12, 2024 09:47
sbuerk added a commit that referenced this pull request Dec 12, 2024
This change adds the dry-run flag (`-n`) to the php-cs-fixer
code-quality execution within the Github Action workflow file
to emit an non-zero exit code when changes are detected to
ensure failing job-run in this case.

Backport of 1b9b3c3  of merged #384.
sbuerk added a commit that referenced this pull request Dec 12, 2024
This change applies `php-cs-fixer` modifications which
slipped into the code-base because the corresponding
code-quality check missed the dry-run flag and doesn't
fail when changes has been detected.

Backport of #384.
sbuerk added a commit that referenced this pull request Dec 12, 2024
This change adds the dry-run flag (`-n`) to the php-cs-fixer
code-quality execution within the Github Action workflow file
to emit an non-zero exit code when changes are detected to
ensure failing job-run in this case.

Backport of 1b9b3c3  of merged #384.
sbuerk added a commit that referenced this pull request Dec 12, 2024
This change applies `php-cs-fixer` modifications which
slipped into the code-base because the corresponding
code-quality check missed the dry-run flag and doesn't
fail when changes has been detected.

Backport of #384.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 4.x task A task for code improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants