name: Remove label on close
on:
  issues:
    types: ['closed']

jobs:
  remove-labels:
    runs-on: ubuntu-latest
    steps:
      - uses: docker://k8slt/github-labeler-action@sha256:69b376b059806729c25c7d1f6cb0c88e1547eae6f57451414d108915bf4ddffd
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          remove-labels: "carvel triage"
