Every PR should fill in the PULL_REQUEST_TEMPLATE which is automatically proposed by GitHub when creating a new PR.
We enforce contributors behavior with commit messages to reference JIRA/GitHub issues.
Organized history and to create a CHANGE LOG for each version.
This script checks for a valid issue (JIRA or GitHub) reference and fails the build otherwise with the message
Your commit message should start with a JIRA issue ('JIRA-1111') or a GitHub issue ('#39')
with a following colon(:).
i.e. 'MGMT-42: Summary of the commit message'
You can also ignore the ticket checking with 'NO-ISSUE' for master only.
It will search for a commit message containing a valid JIRA/GitHub issue notation or "NO-ISSUE" in case there's no ticket.
-
JIRA reference without a Bugzilla link
MGMT-6075: Implement ResetHostValidation API call -
No reference
NO-ISSUE: allow GitHub-created reverts to be used -
GitHub reference
#1 Fixing the very first GitHub issueNOTE: The following is also correct
Fixing the very first GitHub issue [...] Closes: #1
See the Kubernetes guidelines Specifically:
More information is available here: Assisted Installer Testing