Skip to content

fail_on_error should continue removing a list of labels #219

@osbornk

Description

@osbornk

Suppose I have this configuration:

      - name: Remove labels
        uses: actions-ecosystem/[email protected]
        with:
          labels: |
            A
            B
            C

Suppose A and C exist, but B does not. As it currently works, the label for A will be removed, but C does not. Looking at the PR for fail_on_error, it looks like you catch an error on the outside of the loop. So, an error on any label will exit the loop.

Ideally, after an exception, the loop should continue. So, both A and C should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions