composer / composer/composer

error with a github action formatter error

Open
#11,750 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
29.5k
Forks
4.8k
Avg merge
2d 2h
Merged PRs (30d)
12

Description

My `composer.json`:

any change in the composer.json without a updated composer.lock

When I run this command:

```
composer validate
```

within a github action

I get the following output:

the error reported is not in github actions format, therefore you need to open the github actions log and look into the actual log

![grafik](https://github.com/ergebnis/composer-normalize/assets/120441/e825ade2-5196-4cfd-8441-09a13d8db396)

but I expected a github action formatted error, which would automatically show up in the files-changed tab.

example implementation for the github action error format can be found in `cs2pr`:
https://github.com/staabm/annotate-pull-request-from-checkstyle/blob/b824adfd29a6e6a900de976b5c893c62ce66edca/cs2pr#L131-L150

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.