Skip to content

failed to remove label if it's not exist #269

@dirablue

Description

@dirablue

What happened

when I tried to remove all labels set with "labels" options, the error occurred for removing 'stg' label, and 'prd' label which exists was not removed.

  • these are labels status before run
    dev: exists
    stg: NOT exists
    prd: exists
labels: |
  dev
  stg
  prd

in this case,
'dev' label is removed
but 'prd' label is not removed because the error of removing 'stg' label.

Run actions-ecosystem/action-remove-labels@v1
Error: HttpError: Label does not exist

What you expected to happen

run a process successfully even if an error occur of removing labels

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions