Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature work #3

Merged
merged 36 commits into from
Jan 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
This Action automatically deletes stale branches.

* By default, a stale branch is defined as a branch that:
* has had no commits in the last 120 days
* has no protection rules
* has no open pull requests
* has had no commits in the last 120 days.
* has no protection rules.
* has no open pull requests.
* is not the default branch of the repository.
* See [inputs](https://github.com/crs-k/stale-branches#inputs) for more info.
* See [example workflow](https://github.com/crs-k/stale-branches#example-workflow).
Expand Down
2 changes: 0 additions & 2 deletions __tests__/functions/get-branches.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ describe('Get Branches Function', () => {
await getBranches()

expect(core.info).toHaveBeenNthCalledWith(1, 'Retrieving branch information...')
expect(core.info).toHaveBeenNthCalledWith(2, `Branch Name: ''`)
expect(core.info).toHaveBeenNthCalledWith(3, `Protected: 'false'`)
})
})
255 changes: 230 additions & 25 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading