Custom action to regenerate .rubocop_todo.yml
and create Pull Request.
An example workflow to run rubocop-todo-regenerator via adding labels to pull requests.
# .github/workflows/rubocop-todo-regenerator.yml
name: rubocop-todo-regenerator
on:
pull_request:
types: [labeled]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: ydah/rubocop-todo-regenerator@main
with:
github_token: ${{ secrets.WRITABLE_GITHUB_TOKEN }}
github_token
workflow
scope to this tokentriggered_label
rubocop-todo-regenerate
preparation_command
""
(empty string means no op)