[FEAT] Add support for cs2pr to magento2-coding-standard phpcs Github Actions

Offen
#17 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
github-actions, php
Bereich
ci-cd

Rechercherichtung

The payload names no file, so first find the phpcs step in this repository's GitHub Actions definitions and read how it runs and reports results. The request is to pipe phpcs output through cs2pr so violations appear as annotations on the pull request. Check the linked upstream threads for the agreed approach before starting, since this issue has no assignee or pull request and its last comment was about 300 days ago. Done means a failing coding-standard violation shows as an inline annotation in a test run.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

💡 Feature request

Feature Name

Coding Standard

The Desired Behavior

@ihor-sviziev requested that we leverage cs2pr to add info the Github Action

https://github.com/graycoreio/github-actions-magento2/issues/27#issuecomment-1271250642

Your Use Case

Nicer code review :)

Prior Work

https://github.com/graycoreio/github-actions-magento2/issues/27#issuecomment-1271250642

Copied from https://github.com/graycoreio/github-actions-magento2/issues/71

cc: @gowrizrh

Vorherrschende Sprache
TypeScript
Sterne
12
Forks
15
Ø Merge
6 T. 39 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mage-os/github-actions

Alle Issues in mage-os/github-actions

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.