Skip to content

Commit

Permalink
Adds basic GitHub Action README
Browse files Browse the repository at this point in the history
  • Loading branch information
donatj committed Aug 23, 2023
1 parent 0006186 commit 5884a5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,14 @@ jobs:
vendor/bin/phpstan analyse --error-format=checkstyle | vendor/bin/cs2pr
```

## Using cs2pr as a GitHub Action

You can also use [`cs2pr` itself as a GitHub Action](https://github.com/staabm/annotate-pull-request-from-checkstyle-action). This is useful if you want to for instance use it for a project that does not use PHP or if you want to use it with a custom PHP installation.

See the example at the [cs2pr GitHub Action repositiory](https://github.com/staabm/annotate-pull-request-from-checkstyle-action#readme).



# Resources

[GithubAction Problem Matchers](https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md)
Expand Down

0 comments on commit 5884a5a

Please sign in to comment.