This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 20
Add possibility to specify owner and repository containing the branches to be deleted #19
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
…f-warning-instead-of-error
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.
This reverts commit 138307c.
Thanks. Merging. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.