-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
Problem Definition
The pipe atlassian/bitbucket-chatgpt-codereview runs on pull-requests builds and it reviews all diff files from the PR.
When the PR's source branch gets updated, a pull-requests build will run again and it will again review all diff files from the PR. This can be costly, so if there is a second or third run, some users would like the pipe to review only the files that changed since the pipe's first run on this specific PR.
Suggested Solution
Provide a way to configure the pipe to review only the files changed since the last time the pipe ran for a specific PR.
Workaround
Currently there is no known workaround for this behavior.
You can prevent the pull-requests pipelines from running every time the PR is created or updated by adding the text [skip ci] in the commit message of the last commit of the PR's source branch.
Then, when you are ready to run a build, you can trigger it manually following one of the two suggestions in this knowledge base article: