Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Add possibility to specify owner and repository containing the branches to be deleted #19

Merged
merged 26 commits into from
Jan 22, 2021

Conversation

Rasmus-Rosted
Copy link
Contributor

This implementation gives the user the possibility to specify the owner and repository where the branches that should be deleted are located. This is done in order to not only be able to delete branches in the repository that the action is called from or the GitHub token dictates.

Rasmus-Rosted and others added 26 commits January 21, 2021 13:51
Added owner and repository for input
Added possibility to state owner and repository as input
Log now shows owner and repository alongside branch
Added try-catch for deleting a branch so that the entire action wont fail in case of a branch not being found
soft_fail parameter in action.yml
soft_fail flag
This implementation gives the user the possibility to specify the owner and repository where the branches that should be deleted are located. This is done in order to not only be able to delete branches in the repository that the action is called from or the GitHub token dictates.
…g-instead-of-error

This implementation gives the user the possibility to decide if the action should fail with an error or continue with a warning. This is done in order to make the action more flexible in the cases where a branch does not exist but the rest of the workflow that the action is used in is not dependent on that condition.
…-of-error

This implementation gives the user the possibility to decide if the action should fail with an error or continue with a warning. This is done in order to make the action more flexible in the cases where a branch does not exist but the rest of the workflow that the action is used in is not dependent on that condition.
@dawidd6
Copy link
Owner

dawidd6 commented Jan 22, 2021

Thanks. Merging.

@dawidd6 dawidd6 merged commit d1efac9 into dawidd6:master Jan 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants