All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- [Fix] note bypassable restrictions
#23
- Initial implementation + tests
63b0163
- [Tests] extract mock JSON into individual files
6fc35e4
- [Refactor]
evaluatePRs
->parsePullRequest
f0a6274
- [New] infer PR
fd0596c
- [Tests] Separated out testing from one file to standard separation of concerns.
0fbc015
- [New] add
--commit
to check status of commits instead of just PRs9e65a6a
- [New] infer PR from current SHA
577f9c5
- [Refactor]
evaluatePullRequest
: return enum2cf9aef
- [refactor] clean up templates, whitespace
c866a30
- Initial commit
2ab3086
- [meta] do not publish workflow files, etc
ce6c235
- [readme] update readme with usage and cli reference
de9befd
- [Tests] add ci workflows
f8dc8fb
- [Refactor] remove utilities, refactor evaluatePR function
fc11dd3
- [Refactor] add
.strict()
and.help()
; add$GH_TOKEN
; weigh--token
higher, tweak logic3cbcd84
- [actions] reuse common workflows
8898ab3
- [New] add
--watch
to poll for changes every N seconds5d170a5
- [Readme] update usage in README; use md-magic to keep help output in sync
62537ec
- [meta] improve CONTRIBUTING.md
f7e0c4c
- [Refactor] evaluateChecks: some cleanup
ba45670
- [New] Add
--remote
flagb0e2faa
- chore: setup eslint and editorconfig
4b7741c
- [Refactor] group individual status checks by status
6c07b4a
- [Fix] fix error when PR arg is specified
b84de64
- [Fix] pr inference
ba83be9
- [New] check GitHub for redirect before query
4dc956b
- [New] add
resolveIndentifier
and support a commit-ish SHAd373ddf
- [Fix]
getRepo
,getSHA
: have them take a dir path;getRepo
should handle https git urls3d22632
- [Refactor] log checks in bin/can-merge
6d01272
- [meta] add
auto-changelog
9a4dd18
- [Refactor] move into
parseRemoteUrl
for reuse435fa9e
- [meta] update CONTRIBUTING.md env var instructions
5dd6b44
- [New] catch errors from
runQuery
3a6fa74
- Add logger
75a9319
- [New] add
utils/filterPullRequest
dcdec27
- Updated Contributing.md.
be441fc
- [Test] Add tests for
getSHA
eeb3413
- [Refactor] Use
git-repo-info
to returnsha
, and get the repoa7da80b
- [Docs] creates CONTRIBUTING.md
d09713b
- fix:execute on mac
1750e19
- [Tests] add tests for
evaluteCommitStatus
a5e22a7
- [Refactor] Log output in bin/can-merge
d9f4508
- [Refactor] use a normal function for the export of a module
8a767d8
- Add pr enum defining various cases
9745b49
- Revert back to original commit
1b53e02
- added test for pull request status
1a10e78
- [meta] create FUNDING.yml
1440062
- [Refactor]
runQuery
: convert args to object84bca41
- [Dev Deps] update
eslint
,@ljharb/eslint-config
7115197
- [Dev Deps] update
eslint
,@ljharb/eslint-config
,tape
4e0a3d6
- [New] default
--sha
toHEAD
; automatically transform that to the current SHA34d7561
- [Fix] filter out unwanted prs when
pr
flag specifiedfa4adfa
- [Fix] remove
sha
whenpr
set in search apif1a4469
- [Refactor] Remove
git
dependency by utilizingparse-git-config
b164213
- [Fix] Infer PR for
watch
ae0fc09
- [Tests] skip instead of TODO tests
ecd2c0e
- [Dev Deps] update
eslint
,@ljharb/eslint-config
,aud
,tape
20c8edd
- [Refactor] bin: Move output logic into function
f25f9b6
- [Test] Add tests for
getRepo
1762a20
- [Fix] use short sha
1fce630
- [New] Display API points used and remaining after every command
bfbf166
- [New] Exit with nonzero code on unmergeable
c28af03
- fix: regex handle http, https and ssh
5237703
- [patch] move some console output to stderr
0d50d0c
- [Refactor]
logger
->getMessage
f05d26d
- [Refactor]
getSHA
: default to the long SHA; optionally return the short one7820480
- [Deps] update
@octokit/graphql
,chalk
,yargs
21bf45f
- [Dev Deps] update
eslint
,@ljharb/eslint-config
,tape
003130d
- [patch] Show info about repo and pull request
173289f
- [Dev Deps] update
eslint
,@ljharb/eslint-config
998e48d
- [Breaking] require node 14, to allow optional chaining
7655554
- [meta] use
prepublishOnly
script for npm 7+33acb0b
- [actions] update codecov uploader
8bdc993
- [eslint] fix linting errors
6061490
- switch to ls-remote with --get-url flag
9161c4d
- [eslint] fix linting errors
a440f29
- [Refactor] remove
--token
alias; prioritizeGH_TOKEN
0966e95
- [eslint] lint bin files too
0c5c9d8
- [Deps] update
yargs
2017cde
- [Breaking] remove
dotenv
03e33a9
- [Dev Deps] update
markdown-magic
1e4d629
- [Fix]
evaluatePending
: on a commit with no PR checks,edges
is an empty array9be36d0
- [Fix] parsing response for
evaluatePending
a7182a5
- [Fix] fix a small typo from #40
fa89c6d
- [meta] another try to hide mock diffs
b712c73
- [Dev Deps] update
eslint
eaf4b4f
- [Deps] update
yargs
438f94a
- [Dev Deps] update
tape
0444021
- [Fix] avoid the console clear unless in
watch
mode3a44b5d
- [Fix]
getRepo
: strip.git
from repo name2487a76
- [readme] update required node version
ada7bec
- [Deps] update
yargs
b4dd8ee
- [eslint] fix extends
2583271
- [eslint] fix linting error
9700558
- [Fix] do not require
--token
if$GH_TOKEN
is presente9c830a
- [Deps] update
yargs
d04e2f0
- [Dev Deps] update
eslint
79c8a69
- [deps] remove unused
dedent
afd9018
- Only apps should have lockfiles
5412754
- [Tests] Refactor
watch
mocks reflect search api6785fc6
- [Fix] chmod a+x bin/can-merge
659e5ba