Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (27 loc) · 962 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 962 Bytes

Github Action to check review comment etiquette

Github Action to enforce reviewers to follow review etiquette

Description

This github action uses python to parse review comment, making API calls for retrieving and editing review comments

  • Scans review comments
  • Edits the review comment incase reviewer didn't Follow etiquettes
  • showing caution sign ⚠️ at beginning of original comment
  • With reference link fo PR Comment Etiquette document

Example

name: Reviewington 
on:
  pull_request_review_comment:
    types: [created, edited]
jobs:
  reviewington:
    name: reviewington check
    runs-on: ubuntu-latest
    steps:
      - name: review-comment-etiquette
        uses: HomeXLabs/[email protected]
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

License

MIT