Skip to content

[Yaml] Documented the github output format for the linter #14803

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

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

javiereguiluz
Copy link
Member

Fixes #14583.

@javiereguiluz javiereguiluz added this to the 5.3 milestone Jan 8, 2021
@OskarStark
Copy link
Contributor

Thank you Javier.

@OskarStark OskarStark merged commit 633222b into symfony:5.x Jan 8, 2021
@@ -33,6 +33,17 @@ The linter results can be exported to JSON using the ``--format`` option:
$ php bin/console lint:yaml translations/ --format=json
$ php bin/console lint:xliff translations/ --format=json

When running the YAML linter inside `GitHub Actions`_, the output is automatically
adapted to the format required by GitHub, but you can force that format too:
Copy link
Member

Choose a reason for hiding this comment

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

I would not say "required". It's a nicer output in GitHub, but not required (the normal stdout works fine).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Console][Yaml] Linter: add Github annotations format for errors
4 participants