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
Look up all branches on repo by prefix. Days threshold for deleting stale branches #17
Open
bryanjebyrd
wants to merge
51
commits into
dawidd6:master
Choose a base branch
from
bryanjebyrd:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
e64edcd
Look up all the branches by prefix and load them up for deletion
bryanjebyrd fa87b1b
Update action.yml
bryanjebyrd 5d4160b
add safeguards for owner and repo to be present
bryanjebyrd a13ce81
Create test-prefix-owner-repo.yml
bryanjebyrd 5505b88
Update test-prefix-owner-repo.yml
bryanjebyrd 1b77d1f
different starts with function call
bryanjebyrd a9206af
fixing the string function on an object :facepalm:
bryanjebyrd 29d534e
removing log statement
bryanjebyrd f26746c
sleep it 30 to not clash with other action
bryanjebyrd 358e1ef
make test branch names completely different
bryanjebyrd b51b129
adding some logging for more visual
bryanjebyrd b8afbb2
forgot the await :facepalm:
bryanjebyrd b22dd85
use standard prefix + branch when owner and repo is not present
bryanjebyrd 558dab8
Update README.md
bryanjebyrd ae1dd1f
adding test branches
bryanjebyrd 8360c77
add dry-run capability
bryanjebyrd 11b368c
fixing syntax error
bryanjebyrd 520399f
attempting to use github context
bryanjebyrd 081a563
fixing the call to the github context
bryanjebyrd ea69222
removing owner and repo input, got it from the ctx obj
bryanjebyrd 1ffa5cb
fixing another syntax error
bryanjebyrd bc59236
adding dry_run input
bryanjebyrd fe1e3bd
Removing repo and owner from readme
bryanjebyrd a8a00e5
removing prefix check in the delete loop
bryanjebyrd 9ada54b
removing unneeded inputs
bryanjebyrd 9e43595
fixing dry_run input
bryanjebyrd d203a5e
Update and rename test.yml to suffix-test.yml
bryanjebyrd 785e21f
Rename test-prefix-owner-repo.yml to prefix-test.yml
bryanjebyrd d27ca37
Update action.yml
bryanjebyrd 9989639
adding days input
bryanjebyrd 22ff4f6
completed days functionality...now to test
bryanjebyrd 18fb6a9
Create days-test.yml
bryanjebyrd 7e2d339
Update prefix-test.yml
bryanjebyrd 1bc1acf
target all branches for action
bryanjebyrd 00c31fe
creating test to validate days input
bryanjebyrd 4528196
updating test
bryanjebyrd a6a0d77
add logging for visual aid
bryanjebyrd aff4884
fixing the chaining in the json return obj
bryanjebyrd 845968b
remove logging
bryanjebyrd 05c69e0
Update and rename days-test.yml to negative-days-test.yml
bryanjebyrd dbef3fe
Create positive-days-test.yml
bryanjebyrd c31b1e9
adding logging for visual
bryanjebyrd 79de717
run on all branches
bryanjebyrd 937aea6
run on all branches
bryanjebyrd 69b29a6
more visual aid with logs
bryanjebyrd ab278b2
convert the string date to date for compare
bryanjebyrd f8d364c
logging coming up.
bryanjebyrd 1f216dc
fixing the date comparison
bryanjebyrd 246fe32
moving around the logging to make the output cleaner
bryanjebyrd 72db792
adding days example
bryanjebyrd 66c6b45
Merge pull request #1 from bryanjebyrd/days-input
bryanjebyrd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adding days example
commit 72db79249ab699bf597bff93ec43335b07856129
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing prefix here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous prefix was replaced with lookups against all the repo branches. The previous implementation users of the action had to explicitly know the branch name.