{"repo":"r7kamura/rubocop-todo-corrector","free":true,"listed":false,"github":"https://github.com/r7kamura/rubocop-todo-corrector","clone":"git clone https://github.com/r7kamura/rubocop-todo-corrector.git","description":"Custom action to create a pull request that autocorrects offenses in .rubocop_todo.yml per cop.","language":null,"stars":27,"topics":["github-actions"],"license":"MIT","category":"productivity","readme_excerpt":"rubocop-todo-corrector Custom action to create a pull request that autocorrects offenses in .rubocop todo.yml per cop. Usage Add the following workflow file to manually run the action: Now you can run it via actions page: or if you want to do it from CLI, use GitHub CLI like this: After the action is complete, a pull request is created as follows: Automatic running By adding on.pull request event to the workflow, you can automatically run it when all other labeled pull requests are merged or closed. Note that the label input is required to use this feature. Don't forget to create the label on your repository before you run the action. Ignore cops If you pass ignore as \"true\" , the action will create a pull request that ignores the specified cop by appending specified cop name to .rubocop todo corrector ignore . Note: You can ignore specific cops by adding a file named .rubocop todo corrector ignore to your repository. See the following page for more details: - https://github.com/r7kamura/rubocop todo corrector#rubocop todo corrector ignore Inputs auto merge - Pass \"true\" if you want it to run gh pr merge --auto --merge after creating a pull request. - optional cop name - Pass cop name if you want to pick a specific cop. - optional - Required if ignore is \"true\" - e.g. \"Style/NegatedIf\" gh pr create options - Additional options for gh pr create command. - optional - e.g. \"--reviewer r7kamura --draft\" github token - GitHub access token for GitHub API calls. - optional It uses t","default_branch":null,"files":null,"tree":[],"storefront":"/r/r7kamura","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/r7kamura/rubocop-todo-corrector/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}