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

Default label to last merged PR #83

Merged
merged 5 commits into from
Dec 16, 2018
Merged

Default label to last merged PR #83

merged 5 commits into from
Dec 16, 2018

Conversation

hipstersmoothie
Copy link
Collaborator

What Changed

When running auto label the pr number is no longer required. It will now find the last merged PR and return it's labels

Why

This enables auto label to be run in master after a PR has been merged. You can use the labels to automate more things in your build pipeline other than the release.

to enable #22

Todo:

  • Add tests
  • Add docs
  • Add SemVer label

@hipstersmoothie hipstersmoothie added the minor Increment the minor version when merged label Dec 16, 2018
@codecov
Copy link

codecov bot commented Dec 16, 2018

Codecov Report

Merging #83 into master will increase coverage by 0.1%.
The diff coverage is 64.7%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #83     +/-   ##
=========================================
+ Coverage   75.13%   75.23%   +0.1%     
=========================================
  Files          13       13             
  Lines         925      941     +16     
  Branches      128      135      +7     
=========================================
+ Hits          695      708     +13     
- Misses        202      206      +4     
+ Partials       28       27      -1
Impacted Files Coverage Δ
src/cli/args.ts 92.68% <ø> (+2.43%) ⬆️
src/github-release.ts 95.16% <100%> (+0.07%) ⬆️
src/git.ts 99.37% <100%> (+0.02%) ⬆️
src/main.ts 23.78% <14.28%> (-0.22%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cfcb0de...4f1efea. Read the comment docs.

@hipstersmoothie hipstersmoothie merged commit 7880dbf into master Dec 16, 2018
@hipstersmoothie hipstersmoothie deleted the default-label branch December 16, 2018 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant