damccorm commented on issue #23851: URL: https://github.com/apache/beam/issues/23851#issuecomment-1292443349
Hey @ayushthe1 - right now, our PR bot (which is backed by GitHub Actions) stores its state, it checks it in as a file to the branch `pr-bot-state` (this is done here - https://github.com/apache/beam/blob/ead2d2e8025874ad5c3f09ea0fda06caf027e18c/scripts/ci/pr-bot/shared/persistentState.ts#L43). Right now, we will produce a commit any time we call save state, even if there are no changes to commit. The goal of this issue is to check if there have been any changes before producing a commit. One way to do this would be running something like `git diff-index --quiet HEAD` before adding the files to be committed; this should produce output only if there are changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
