Skip to content

Instantly share code, notes, and snippets.

@r7kamura
Last active July 31, 2022 01:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r7kamura/baed421f5dea85f5c268e0ef72626de4 to your computer and use it in GitHub Desktop.
Save r7kamura/baed421f5dea85f5c268e0ef72626de4 to your computer and use it in GitHub Desktop.
Example of .github/workflows/rubocop-todo-corrector.yml with label
name: rubocop-todo-corrector
on:
pull_request:
types:
- closed
workflow_dispatch:
inputs:
cop_name:
description: Pass cop name if you want to pick a specific cop.
required: false
type: string
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: r7kamura/rubocop-todo-corrector@v0
with:
cop_name: ${{ github.event.inputs.cop_name }}
label: rubocop-todo-corrector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment