georgereuben commented on code in PR #14927: URL: https://github.com/apache/lucene/pull/14927#discussion_r2195851411
########## .github/workflows/auto-format.yml: ########## @@ -0,0 +1,268 @@ +name: Lucene Auto Format Bot + +on: + issue_comment: + types: [created] + +env: + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + format-check: + # Only run on pull requests when the bot is mentioned + if: | + github.event.issue.pull_request && + contains(github.event.comment.body, '/format-fix apply') + runs-on: ubuntu-latest + timeout-minutes: 30 + + permissions: + contents: write + pull-requests: write + issues: write Review Comment: It will be needed for pushing formatting commits -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org