CCM-15317: Enforce Jira in Commits#338
Open
damientobin1 wants to merge 10 commits into
Open
Conversation
sidnhs
reviewed
May 11, 2026
sidnhs
previously approved these changes
May 11, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates repository automation to enforce a Jira-style prefix in PR titles (via a shared GitHub Action) and to ensure Dependabot-related PRs/commits comply with that format.
Changes:
- Add a new GitHub Actions workflow that validates PR title format on PR events targeting
main. - Update the manual “combine Dependabot PRs” workflow to use a Jira-prefixed combined PR title/body header.
- Configure Dependabot to prefix its commit messages (and therefore its PR titles) with a Jira key.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
.github/workflows/manual-combine-dependabot-prs.yaml |
Prefixes the combined Dependabot PR title/body header with a Jira key to satisfy title validation. |
.github/workflows/cicd-4-pr-title-check.yaml |
Introduces a PR-title format enforcement workflow using the shared-modules action. |
.github/dependabot.yaml |
Adds a Jira-prefixed commit-message.prefix for all configured ecosystems so Dependabot PRs/commits meet the enforced format. |
Comment on lines
+9
to
+38
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "npm" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "pip" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "terraform" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " |
Comment on lines
+9
to
+38
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "npm" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "pip" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "terraform" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " |
Comment on lines
+10
to
+38
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "npm" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "pip" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "terraform" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " |
Comment on lines
+10
to
+38
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "npm" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "pip" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "terraform" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " |
Comment on lines
+10
to
+38
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "npm" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "pip" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " | ||
|
|
||
| - package-ecosystem: "terraform" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| commit-message: | ||
| prefix: "CCM-9336: " |
Comment on lines
20
to
+24
| ci_required: false | ||
| labels: dependencies | ||
| pr_title: Combined Dependabot PRs | ||
| pr_title: "CCM-9336: Combined Dependabot PRs" | ||
| combine_branch_name: dependabotCombined | ||
| pr_body_header: Combined Dependabot PRs | ||
| pr_body_header: "CCM-9336: Combined Dependabot PRs" |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adding PR Title Validation
Context
Added main PR title check from shared-modules
Added Dependabot checks in .github/workflows/manual-combine-dependabot-prs.yaml and .github/dependabot.yaml
Type of changes
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.