-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
After making a change to an approved path, every subsequent commit triggers a new approval. The logs say it is looking for existing reviews, but seems to not find the last one.
Logs from the second run:
Fetching user, pull request information, and existing reviews
Current user is github-actions[bot]
Commit SHA is AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Pull request #123 has not been approved yet, creating approving review
Approved pull request #123
workflow config:
name: Auto approval
on:
pull_request:
branches:
- main
paths:
- 'some-dir/**'
jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v3
with:
review-message: "Automatic approval of ..."
Perhaps there's a missing permission that is preventing it from fetching existing reviews?
Metadata
Metadata
Assignees
Labels
No labels