-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): JIRA-2085 improve Jira ID consistency validation
Improved the check as to have a 3-way matching of the Jira ID, to ensure it's the same in branch name, PR title and commits.
- Loading branch information
1 parent
3d4ca06
commit 4ee2d45
Showing
10 changed files
with
397 additions
and
823 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
.idea | ||
.idea | ||
package-lock.json |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
name: 'Validate JIRA branch name' | ||
description: 'Validates if the branch name contains JIRA' | ||
name: 'Validate JIRA-ID branch name and consistency across PR title and commits' | ||
description: 'Validates if the branch name contains JIRA-ID - and PR title and commits have the same one' | ||
inputs: | ||
branch-name: | ||
description: The name of the branch to validate against | ||
required: true | ||
pr-title: | ||
description: The title of the PR to validate | ||
required: true | ||
commits: | ||
description: The Github API response JSON containing the commits of the PR | ||
required: true | ||
runs: | ||
using: 'node12' | ||
main: 'dist/github/index.js' | ||
branding: | ||
icon: 'git-branch' | ||
color: 'gray-dark' | ||
color: 'gray-dark' |
This file contains 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
Oops, something went wrong.