Skip to content

Conversation

askpt
Copy link
Member

@askpt askpt commented Oct 8, 2025

Signed-off-by: André Silva 2493377+askpt@users.noreply.github.com

This PR

This pull request updates the pull request title validation workflow to provide clearer feedback to contributors when their PR titles do not meet the Conventional Commits specification. It adds automated commenting for failed title checks and cleans up comments when the issue is resolved.

Enhancements to PR title validation workflow:

  • Added the marocchino/sticky-pull-request-comment GitHub Action to automatically comment with a helpful error message if the PR title does not follow the Conventional Commits specification, including details from the linter output.
  • Configured the workflow to delete the error comment once the PR title is corrected and passes validation, keeping the discussion clean.

Notes

Copied from https://github.com/open-feature/flagd/blob/main/.github/workflows/lint-pr.yaml
Thanks @open-feature/flagd-maintainers!

Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.52%. Comparing base (40beb30) to head (015cc6c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #597   +/-   ##
=======================================
  Coverage   89.52%   89.52%           
=======================================
  Files          77       77           
  Lines        3084     3084           
  Branches      350      350           
=======================================
  Hits         2761     2761           
  Misses        256      256           
  Partials       67       67           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

askpt added 2 commits October 8, 2025 18:18
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
@askpt askpt marked this pull request as ready for review October 8, 2025 17:23
@askpt askpt requested a review from a team as a code owner October 8, 2025 17:23
@askpt askpt enabled auto-merge October 8, 2025 17:23
@askpt askpt requested a review from Copilot October 8, 2025 17:23
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the pull request title validation workflow by adding automated commenting functionality that provides clear feedback when PR titles don't meet Conventional Commits specifications.

  • Integrates sticky comment functionality to automatically notify contributors about title validation failures
  • Implements comment cleanup when validation issues are resolved
  • Removes the contents: read permission which is no longer needed

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@askpt askpt added this pull request to the merge queue Oct 8, 2025
Merged via the queue into main with commit d15960c Oct 8, 2025
24 checks passed
@askpt askpt deleted the askpt/improve-pr-lint branch October 14, 2025 12:48
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.

3 participants