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

ci: Add PR title checker workflow and thank-you comment on merge #1385

Merged
merged 11 commits into from
Feb 16, 2025

Conversation

okineadev
Copy link
Contributor

Overview

  • Updated the section on Conventional Pull Request Titles in CONTRIBUTING.md
  • Added GitHub Actions workflows to check PR titles and post a thank-you comment upon merging
  • Introduced commitlint configuration to enforce title conventions for pull requests

For now, this is to test the functionality of the checks

Manual Testing

I believe it works

* Updated the section on Conventional Pull Request Titles in `CONTRIBUTING.md`
* Added GitHub Actions workflows to check PR titles and post a thank-you comment upon merging
* Introduced `commitlint` configuration to enforce title conventions for pull requests
@okineadev okineadev marked this pull request as draft February 1, 2025 05:52
Copy link

netlify bot commented Feb 1, 2025

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 7dbee7a
🔍 Latest deploy log https://app.netlify.com/sites/creative-fairy-df92c4/deploys/67b0db7be61fb50008349629
😎 Deploy Preview https://deploy-preview-1385--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@okineadev okineadev marked this pull request as ready for review February 1, 2025 05:55
@aklinker1 aklinker1 changed the title feat(ci): add PR title checker workflow and thank-you comment on merge ci: Add PR title checker workflow and thank-you comment on merge Feb 1, 2025
Copy link
Collaborator

@aklinker1 aklinker1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, this will be nice to have. It's quite annoying for maintainers to edit PR titles. But realistically, we'll still need to rename PRs to better represent what's actually being changed and match changelog tone. It's hard for people to come up with a good name without the full context of the project.

.github/workflows/pr-closed.yml Show resolved Hide resolved
.github/workflows/pr-closed.yml Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
commitlint.config.js Outdated Show resolved Hide resolved
okineadev and others added 6 commits February 8, 2025 07:10
Co-authored-by: Aaron <aaronklinker1@gmail.com>
Co-authored-by: Aaron <aaronklinker1@gmail.com>
Co-authored-by: Aaron <aaronklinker1@gmail.com>
@okineadev okineadev requested a review from aklinker1 February 15, 2025 12:41
.github/workflows/pr-title.yml Outdated Show resolved Hide resolved
Co-authored-by: Aaron <aaronklinker1@gmail.com>
Copy link

pkg-pr-new bot commented Feb 15, 2025

Open in Stackblitz

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@1385

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@1385

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@1385

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@1385

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@1385

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@1385

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@1385

wxt

npm i https://pkg.pr.new/wxt@1385

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@1385

commit: 7dbee7a

Copy link

codecov bot commented Feb 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.22%. Comparing base (8551d60) to head (7dbee7a).
Report is 27 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1385      +/-   ##
==========================================
- Coverage   81.36%   81.22%   -0.15%     
==========================================
  Files         128      128              
  Lines        6296     6296              
  Branches     1074     1070       -4     
==========================================
- Hits         5123     5114       -9     
- Misses       1158     1167       +9     
  Partials       15       15              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aklinker1
Copy link
Collaborator

And formatting is failing. Run pnpm check to fix it.

okineadev and others added 2 commits February 15, 2025 20:20
Co-authored-by: Aaron <aaronklinker1@gmail.com>
@okineadev
Copy link
Contributor Author

And formatting is failing. Run pnpm check to fix it.

Done

@aklinker1 aklinker1 merged commit 44dab37 into wxt-dev:main Feb 16, 2025
18 checks passed
Copy link

Thanks for helping make WXT better!

@okineadev okineadev deleted the add-new-checks branch February 16, 2025 05:45
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.

2 participants