Skip to content

Continue removing labels with errors#237

Merged
micnncim merged 1 commit intomainfrom
continue-remove
May 23, 2021
Merged

Continue removing labels with errors#237
micnncim merged 1 commit intomainfrom
continue-remove

Conversation

@micnncim
Copy link
Copy Markdown
Member

@micnncim micnncim commented May 23, 2021

What this PR does / Why we need it

This PR lets the action continue removing labels even if there is an error during removing other labels.

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

In the above example, previously, if the label A and C exist but B doesn't, C won't be removed. With this change, the action will remove A and C in this case.

Which issue(s) this PR fixes

Fixes #219

@micnncim micnncim added the release/patch Indicates major patch to action-release-label label May 23, 2021
@micnncim micnncim merged commit 335648f into main May 23, 2021
@micnncim micnncim deleted the continue-remove branch May 23, 2021 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Indicates major patch to action-release-label size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fail_on_error should continue removing a list of labels

1 participant