Add PR title validation for ML Metadata operator repository using reusable workflow

Open Beginner friendly
#158 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
github-actions
Domain
ci-cd

Research direction

Start by reading the reusable workflow at .github/workflows/_pull-request-lint-title.yaml in charmed-kubeflow-workflows and inspect the mlmd-operator repository's existing GitHub Actions. Add the new pull-request title lint action with the requested triggers, then verify that PR title validation runs when a pull request is created, updated, reopened, or synchronized.

Written by the indexing model from the issue text.

Description

enhancement
Context

Ensuring PR titles (and merge commits) always follow a defined naming convention is necessary to maintain a clean and readable repository.

Ref: https://github.com/canonical/bundle-kubeflow/issues/1376

What needs to get done
  1. Add new action, possibly named on_pull_request_lint_title, which uses the reusable workflow defined here
Definition of Done
  1. Action runs when a PR is created, updated, reopened or synchronized
  2. PR title validation is working
Dominant language
Python
Stars
2
Forks
6
Avg merge
1d 9h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from canonical/mlmd-operator

All issues in canonical/mlmd-operator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.