Skip to content

Instantly share code, notes, and snippets.

@r7kamura
Last active July 31, 2022 01:19
Embed
What would you like to do?
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