Skip to content

Instantly share code, notes, and snippets.

@koga1020
Last active May 6, 2021 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koga1020/69213021c13bb01d7e86c90c45e8b0a8 to your computer and use it in GitHub Desktop.
Save koga1020/69213021c13bb01d7e86c90c45e8b0a8 to your computer and use it in GitHub Desktop.
issue close時に任意のラベルを削除するgithub action
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