22 lines
446 B
YAML
22 lines
446 B
YAML
apiVersion: tekton.dev/v1beta1
|
|
kind: Task
|
|
metadata:
|
|
name: php-cs-fixer
|
|
spec:
|
|
description: PHP-CS-Fixer on modified code
|
|
workspaces:
|
|
- name: source
|
|
steps:
|
|
- name: read
|
|
image: ghcr.io/php-cs-fixer/php-cs-fixer:3-php8.3
|
|
volumeMounts:
|
|
- name: config-php-cs-fixer
|
|
mountPath: "/conf/"
|
|
args:
|
|
- --dry-run
|
|
- fix
|
|
|
|
volumes:
|
|
- name: config-php-cs-fixer
|
|
configMap:
|
|
name: config-php-cs-fixer |