Last active
July 31, 2022 01:19
-
-
Save r7kamura/baed421f5dea85f5c268e0ef72626de4 to your computer and use it in GitHub Desktop.
Example of .github/workflows/rubocop-todo-corrector.yml with label
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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