Auto-review Comment #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |