Skip to content

Commit

Permalink
Chore: Update pre-commit issue link requirement
Browse files Browse the repository at this point in the history
The Release Engineering Jira project is no longer publicly accessible.
As we currently require issue links for commits to lftools, this
switches to using the GitHub issue tracker for links.

Links may also use the optional 'Fixes' message identifier to cause GH
to close an issue if it is still open.

Issue: Fixes #10
Change-Id: I13b7592248f0d77a576d394a5a4415209777ae87
Signed-off-by: Andrew Grimberg <[email protected]>
  • Loading branch information
tykeal committed Aug 7, 2024
1 parent bcee679 commit 28ef462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlint
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ types=Fix,Feat,Chore,Docs,Style,Refactor,Perf,Test,Revert,CI,Build

# Require RELENG issues in commit messages
[body-match-regex]
regex=(.*)Issue:\s+(?<!IT)RELENG-\d+(.*)
regex=(.*)Issue:\s+([Ff][Ii][Xx][Ee][Ss]\s+)?[a-zA-Z0-9-]+\/[a-zA-Z0-9_-]+#\d+(.*)

0 comments on commit 28ef462

Please sign in to comment.