actions-ecosystem / action-remove-labels

🏷️ GitHub Action to remove labels

Home Page:https://github.com/marketplace/actions/actions-ecosystem-remove-labels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Error: Input required and not supplied: github_token

tigercosmos opened this issue · comments

The following is the action config I use:

jobs:
  remove_label:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-ecosystem/action-remove-labels@v1
        if: ${{ startsWith(github.event.comment.body, '/done') }}
        with:
          labels: 'todo 🗒️'
      - uses: actions-ecosystem/action-add-labels@v1
        if: ${{ startsWith(github.event.comment.body, '/done') }}
        with:
          labels: 'status: resolved ✅'

And it turns out the result:
image

where "remove" has error, but "add" works

hi @micnncim, when you have time can you look at this fix PR?