Skip to content

Auto-review Comment #140

Auto-review Comment

Auto-review Comment #140

name: Auto-review Comment
on:
workflow_run:
workflows:
- Auto-review Diff Prepare
types:
- completed
permissions:
pull-requests: write
jobs:
auto-review:
name: Review
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/[email protected]
- name: Download PR diff from auto review prepare step
uses: actions/[email protected]
with:
name: pr-diff
path: pr_diff/
repository: ${{ github.repository_owner }}/${{ github.event.repository.name }}
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Analyze changes
uses: pshergie/[email protected]
id: auto-review-action
with:
token: ${{ secrets.GITHUB_TOKEN }}
rules-path: .github/auto-review-comment.yml