Last active
May 6, 2021 10:45
-
-
Save koga1020/69213021c13bb01d7e86c90c45e8b0a8 to your computer and use it in GitHub Desktop.
issue close時に任意のラベルを削除するgithub action
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: Remove Label | |
on: | |
issues: | |
types: [closed] | |
jobs: | |
remove_label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v4 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.issues.removeLabel({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
name: "doing" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment