Add before_script_actions process to make PHPStan and ESLint fail on demand

Created on 14 February 2025, 3 months ago

Problem/Motivation

For the phpcs and cpsell jobs we have added a before_script action to make these jobs fail on demand from the upstream pipeline. The same functionality is needed for phpstan and eslint, as these jobs produces artifacts we are creating.

Ideally, we should also have the same functionality for composer-lint and stylelint but these are less important because they do not produce custom artifacts.

Proposed resolution

📌 Task
Status

Active

Component

Validation and Linting

Created by

🇬🇧United Kingdom jonathan1055

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024