Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TwigBridge] LintCommand supports Github Actions annotations#39826

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:5.4fromYaFou:github-twig-lint-command
Jul 25, 2021

Conversation

@YaFou
Copy link
Contributor

@YaFouYaFou commentedJan 14, 2021
edited
Loading

QA
Branch?5.x
Bug fix?no
New feature?yes
Deprecations?no
TicketsFix#39122 (forlint:twig)
LicenseMIT
Doc PRTODO

Adds a format to the Twig linter command to print Github Actions annotations when an error occurred (documentation). There is a new format:github and the command will detect automatically the format to use in comparison with the environment.

See a workflow example:https://github.com/YaFou/symfony-39826/actions/runs/485093369


TODO:

  • Changelog
  • Test with a real project

@carsonbot
Copy link

Hey!

I like what you have done here. Keep up the good work.

To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done?

Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review.

Cheers!

Carsonbot

@YaFouYaFou marked this pull request as ready for reviewJanuary 14, 2021 09:30
@YaFouYaFouforce-pushed thegithub-twig-lint-command branch fromdc33317 toc46d100CompareJanuary 14, 2021 09:33
@YaFouYaFouforce-pushed thegithub-twig-lint-command branch frome705232 tob51062aCompareJanuary 14, 2021 20:57
@chalasr
Copy link
Member

@YaFou Could you address the remaining comments and rebase your branch against the latest 5.x? Or do you want someone else to take over?

@YaFou
Copy link
ContributorAuthor

@YaFou Could you address the remaining comments and rebase your branch against the latest 5.x? Or do you want someone else to take over?

I will do it this evening.

@YaFouYaFouforce-pushed thegithub-twig-lint-command branch 6 times, most recently from78f4dff to82e7148CompareMay 24, 2021 15:55
@YaFou
Copy link
ContributorAuthor

The tests failed becauseGithubActionReporter was not found. However, I don't understand because I bumped thesymfony/console version incomposer.json to5.3 (whereGithubActionReporter was implemented).

@YaFouYaFouforce-pushed thegithub-twig-lint-command branch frome5d4ec3 toa0a40c1CompareMay 26, 2021 09:30
@YaFouYaFou requested a review fromogizanagiMay 26, 2021 09:30
@YaFouYaFouforce-pushed thegithub-twig-lint-command branch froma0a40c1 to1e5a3dcCompareMay 26, 2021 09:32
@YaFouYaFouforce-pushed thegithub-twig-lint-command branch from1e5a3dc to202eb26CompareJune 27, 2021 09:06
@fabpot
Copy link
Member

Thank you@YaFou.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@stofstofAwaiting requested review from stof

@OskarStarkOskarStarkAwaiting requested review from OskarStark

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

Add Github annotations support to all linters

8 participants

@YaFou@carsonbot@chalasr@fabpot@stof@OskarStark@ogizanagi@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp