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:

where "remove" has error, but "add" works
The following is the action config I use:
And it turns out the result:

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