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

feat: generate coverage badges and clean commit comments #22

Merged
merged 5 commits into from
Oct 24, 2022

Conversation

carlosdevpereira
Copy link
Owner

Issue

Fixes: #16
Fixes: #17

Description

Generates coverage and test badges and comments only the necessary fields on commits

@carlosdevpereira carlosdevpereira self-assigned this Oct 24, 2022
@carlosdevpereira carlosdevpereira marked this pull request as ready for review October 24, 2022 22:55
@carlosdevpereira carlosdevpereira merged commit 3b0173c into main Oct 24, 2022
@carlosdevpereira carlosdevpereira deleted the feature/generate-coverage-badges branch October 24, 2022 22:55
carlosdevpereira added a commit that referenced this pull request Oct 28, 2022
🤖 I have created a release *beep* *boop*
---


##
[1.4.0](v1.3.4...v1.4.0)
(2022-10-24)


### ✨ Features

* generate coverage badges and clean commit comments
([#22](#22))
([3b0173c](3b0173c))


### 👷 Maintenance

* add badges to README.md
([1e948f5](1e948f5))
* get branch that triggered workflow from context
([c90ef4a](c90ef4a))
* log context
([fb32012](fb32012))
* remove branchName from readme
([e38dcf0](e38dcf0))


### 🚨 Bug Fixes

* branch name
([209e73b](209e73b))
* fix percentage sign on badges
([694268f](694268f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
carlosdevpereira added a commit that referenced this pull request Nov 4, 2022
🤖 I have created a release *beep* *boop*
---


##
[1.6.0](v1.5.1...v1.6.0)
(2022-11-04)


### 👷 Maintenance

* add badges to README.md
([1e948f5](1e948f5))
* add example workflow to README.md
([9c4bd05](9c4bd05))
* add global jest setup
([1068c03](1068c03))
* add infos on upload
([ba46bd5](ba46bd5))
* add jsconfig with folder alias and refactor tests
([994604c](994604c))
* add node_modules
([26ce6d4](26ce6d4))
* declare as required only the required inputs
([d95a7ba](d95a7ba))
* get branch that triggered workflow from context
([c90ef4a](c90ef4a))
* get head results from uploaded report
([f5e803c](f5e803c))
* get head results from uploaded report
([34eda53](34eda53))
* get head results from uploaded report
([46a61e6](46a61e6))
* get head results from uploaded report
([29550cb](29550cb))
* get head results from uploaded report
([c768e51](c768e51))
* get head results from uploaded report
([4679ef9](4679ef9))
* group octokit requests
([c9183b9](c9183b9))
* ignore dist eslint format
([a63a5f6](a63a5f6))
* ignore stderr
([c71a2e3](c71a2e3))
* improve formatter rules
([d23352e](d23352e))
* increment action version
([b1f4331](b1f4331))
* log context
([fb32012](fb32012))
* log readfile
([0e95e17](0e95e17))
* log readfile
([c9de541](c9de541))
* log search query
([c23a5ce](c23a5ce))
* migrate to pnpm
([999b20f](999b20f))
* print action progress to github console
([6168dc7](6168dc7))
* print to github console available prs and outputs
([cd200b0](cd200b0))
* re-add node_modules as stated by Github docs
([2e32db4](2e32db4))
* refactor action logic
([ccb0323](ccb0323))
* refactor code to reuse results from head commit
([7d4b39f](7d4b39f))
* refactor config
([b0d0d7a](b0d0d7a))
* remove branchName from readme
([e38dcf0](e38dcf0))
* remove dist folder again
([6910692](6910692))
* remove node_modules and dist / add release process
([1bc874d](1bc874d))
* rename workflow
([cea31f0](cea31f0))
* rollback to commonjs syntax for GH compatibility
([48c8363](48c8363))
* set new release version
([5d425bf](5d425bf))
* use fs to write file instead of exec
([5861b22](5861b22))
* use imports instead of ESM requires
([f48abd3](f48abd3))
* use npm instead of pnpm
([f02e7eb](f02e7eb))


### 🚨 Bug Fixes

* action branding
([862f7c0](862f7c0))
* await for cloudflare
([ae23643](ae23643))
* branch name
([209e73b](209e73b))
* broken tests
([2dd344b](2dd344b))
* centering of summary table values
([e1fb43b](e1fb43b))
* changelog removed tags
([11ef687](11ef687))
* cloudflare upload
([08a01fa](08a01fa))
* code coverage not being calculated
([d15767f](d15767f))
* comment alignment
([4700f6c](4700f6c))
* comment body indentation
([b34dc41](b34dc41))
* comment on pull requests
([c971282](c971282))
* commented table layout
([8cafaca](8cafaca))
* commented table layout
([a2c17ed](a2c17ed))
* coverage table header layout
([bc05a88](bc05a88))
* declare package as a module
([7bd6daa](7bd6daa))
* description length
([962675a](962675a))
* directory import
([58060bc](58060bc))
* extra files on dist
([519bca6](519bca6))
* filesystem path
([45e5269](45e5269))
* framework condition
([7d6c7b3](7d6c7b3))
* framework input default value
([521ae9d](521ae9d))
* head branch name on pull request comment
([c416cb3](c416cb3))
* inject missing octokit reference into Commit instance
([25492fa](25492fa))
* intermediary value is not a function
([5ff64ba](5ff64ba))
* logs
([cb0c7ef](cb0c7ef))
* missing config ref
([4340d2c](4340d2c))
* octokit instance
([54ac3bf](54ac3bf))
* only add dist folder to released tag
([f20a137](f20a137))
* percentage sign
([694268f](694268f))
* publish to cloudflare
([0ad953f](0ad953f))
* re-add node_modules as stated by Github docs
([294496d](294496d))
* recompile source
([8f1d2b0](8f1d2b0))
* release publish
([27fc054](27fc054))
* release workflow
([3aa8c32](3aa8c32))
* removal of unnecesarry files
([7057584](7057584))
* removal of unnecessary files from published release tags
([cd243a0](cd243a0))
* repository details
([73fefb5](73fefb5))
* repository name
([0947c52](0947c52))
* retrieval of pull requests
([a9ce981](a9ce981))
* run commands
([8222a00](8222a00))
* run tests
([8da1d57](8da1d57))
* script name
([ce06fe2](ce06fe2))
* set requirements
([da5cb8a](da5cb8a))
* shellac commonjs import
([346f2f7](346f2f7))
* slice short commit hash
([a043c40](a043c40))
* specify cache-dependency-path
([9a5d533](9a5d533))
* split calls
([04990dd](04990dd))
* statistics request
([df90f80](df90f80))
* summary table and head indentation
([996fa22](996fa22))
* typo in README.md
([0032a5a](0032a5a))
* unterminated quote string
([1ccc7e5](1ccc7e5))


### ✨ Features

* add build process
([7492a88](7492a88))
* add experimental-vm-modules flag support
([e6b2993](e6b2993))
* add json summary reporter
([68ff022](68ff022))
* add publish tag workflow
([362359a](362359a))
* add publish tag workflow
([5009350](5009350))
* build action on release
([f055358](f055358))
* comment on available pull requests
([774e0cc](774e0cc))
* configure codeowners
([eb4dd50](eb4dd50))
* configure jest testing framework
([d6e3d59](d6e3d59))
* format code with eslint
([210cd29](210cd29))
* generate coverage badges and clean commit comments
([#22](#22))
([3b0173c](3b0173c))
* initial commit - repository bootstrap
([e5ec273](e5ec273))
* receive branch name from input parameter
([d0f04a9](d0f04a9))
* run unit tests and generate proper releases
([336938c](336938c))
* tag only with dist
([f74f3ab](f74f3ab))
* upload to Cloudflare pages
([51896ec](51896ec))
* use markdown-table plugin to generate the coverage summary table
([1135272](1135272))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
carlosdevpereira added a commit that referenced this pull request Nov 10, 2022
🤖 I have created a release *beep* *boop*
---


##
[1.7.0](v1.6.0...v1.7.0)
(2022-11-04)


### 👷 Maintenance

* add badges to README.md
([1e948f5](1e948f5))
* add example workflow to README.md
([9c4bd05](9c4bd05))
* add global jest setup
([1068c03](1068c03))
* add infos on upload
([ba46bd5](ba46bd5))
* add jsconfig with folder alias and refactor tests
([994604c](994604c))
* add node_modules
([26ce6d4](26ce6d4))
* declare as required only the required inputs
([d95a7ba](d95a7ba))
* get branch that triggered workflow from context
([c90ef4a](c90ef4a))
* get head results from uploaded report
([f5e803c](f5e803c))
* get head results from uploaded report
([34eda53](34eda53))
* get head results from uploaded report
([46a61e6](46a61e6))
* get head results from uploaded report
([29550cb](29550cb))
* get head results from uploaded report
([c768e51](c768e51))
* get head results from uploaded report
([4679ef9](4679ef9))
* group octokit requests
([c9183b9](c9183b9))
* ignore dist eslint format
([a63a5f6](a63a5f6))
* ignore stderr
([c71a2e3](c71a2e3))
* improve formatter rules
([d23352e](d23352e))
* increment action version
([b1f4331](b1f4331))
* log context
([fb32012](fb32012))
* log readfile
([0e95e17](0e95e17))
* log readfile
([c9de541](c9de541))
* log search query
([c23a5ce](c23a5ce))
* migrate to pnpm
([999b20f](999b20f))
* print action progress to github console
([6168dc7](6168dc7))
* print to github console available prs and outputs
([cd200b0](cd200b0))
* re-add node_modules as stated by Github docs
([2e32db4](2e32db4))
* refactor action logic
([ccb0323](ccb0323))
* refactor code to reuse results from head commit
([7d4b39f](7d4b39f))
* refactor config
([b0d0d7a](b0d0d7a))
* remove branchName from readme
([e38dcf0](e38dcf0))
* remove dist folder again
([6910692](6910692))
* remove node_modules and dist / add release process
([1bc874d](1bc874d))
* rename workflow
([cea31f0](cea31f0))
* rollback to commonjs syntax for GH compatibility
([48c8363](48c8363))
* set new release version
([5d425bf](5d425bf))
* use fs to write file instead of exec
([5861b22](5861b22))
* use imports instead of ESM requires
([f48abd3](f48abd3))
* use npm instead of pnpm
([f02e7eb](f02e7eb))


### 🚨 Bug Fixes

* action branding
([862f7c0](862f7c0))
* await for cloudflare
([ae23643](ae23643))
* branch name
([209e73b](209e73b))
* broken tests
([2dd344b](2dd344b))
* centering of summary table values
([e1fb43b](e1fb43b))
* changelog removed tags
([11ef687](11ef687))
* cloudflare upload
([08a01fa](08a01fa))
* code coverage not being calculated
([d15767f](d15767f))
* comment alignment
([4700f6c](4700f6c))
* comment body indentation
([b34dc41](b34dc41))
* comment on pull requests
([c971282](c971282))
* commented table layout
([8cafaca](8cafaca))
* commented table layout
([a2c17ed](a2c17ed))
* coverage table header layout
([bc05a88](bc05a88))
* declare package as a module
([7bd6daa](7bd6daa))
* description length
([962675a](962675a))
* directory import
([58060bc](58060bc))
* extra files on dist
([519bca6](519bca6))
* filesystem path
([45e5269](45e5269))
* framework condition
([7d6c7b3](7d6c7b3))
* framework input default value
([521ae9d](521ae9d))
* head branch name on pull request comment
([c416cb3](c416cb3))
* inject missing octokit reference into Commit instance
([25492fa](25492fa))
* intermediary value is not a function
([5ff64ba](5ff64ba))
* logs
([cb0c7ef](cb0c7ef))
* missing config ref
([4340d2c](4340d2c))
* octokit instance
([54ac3bf](54ac3bf))
* only add dist folder to released tag
([f20a137](f20a137))
* percentage sign
([694268f](694268f))
* publish to cloudflare
([0ad953f](0ad953f))
* re-add node_modules as stated by Github docs
([294496d](294496d))
* recompile source
([8f1d2b0](8f1d2b0))
* release publish
([27fc054](27fc054))
* release workflow
([3aa8c32](3aa8c32))
* removal of unnecesarry files
([7057584](7057584))
* removal of unnecessary files from published release tags
([cd243a0](cd243a0))
* repository details
([73fefb5](73fefb5))
* repository name
([0947c52](0947c52))
* retrieval of pull requests
([a9ce981](a9ce981))
* run commands
([8222a00](8222a00))
* run tests
([8da1d57](8da1d57))
* script name
([ce06fe2](ce06fe2))
* set requirements
([da5cb8a](da5cb8a))
* shellac commonjs import
([346f2f7](346f2f7))
* slice short commit hash
([a043c40](a043c40))
* specify cache-dependency-path
([9a5d533](9a5d533))
* split calls
([04990dd](04990dd))
* statistics request
([df90f80](df90f80))
* summary table and head indentation
([996fa22](996fa22))
* typo in README.md
([0032a5a](0032a5a))
* unterminated quote string
([1ccc7e5](1ccc7e5))


### ✨ Features

* add build process
([7492a88](7492a88))
* add experimental-vm-modules flag support
([e6b2993](e6b2993))
* add json summary reporter
([68ff022](68ff022))
* add publish tag workflow
([362359a](362359a))
* add publish tag workflow
([5009350](5009350))
* build action on release
([f055358](f055358))
* comment on available pull requests
([774e0cc](774e0cc))
* comment when base doesnt have coverage yet
([2956284](2956284))
* configure codeowners
([eb4dd50](eb4dd50))
* configure jest testing framework
([d6e3d59](d6e3d59))
* format code with eslint
([210cd29](210cd29))
* generate coverage badges and clean commit comments
([#22](#22))
([3b0173c](3b0173c))
* initial commit - repository bootstrap
([e5ec273](e5ec273))
* receive branch name from input parameter
([d0f04a9](d0f04a9))
* run unit tests and generate proper releases
([336938c](336938c))
* tag only with dist
([f74f3ab](f74f3ab))
* upload to Cloudflare pages
([51896ec](51896ec))
* use markdown-table plugin to generate the coverage summary table
([1135272](1135272))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: clean up the commit comment body feature: generate badges based on branch coverage percentages
1 participant