Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
centreon-widget-hostgroup-monitoring
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
centreon
centreon-widget-hostgroup-monitoring
Commits
56d4e974
Commit
56d4e974
authored
3 years ago
by
schapron
Browse files
Options
Downloads
Patches
Plain Diff
enh(chore): issueType, feature_team and issue description
parent
30d1ef04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/dependabot_jira.yml
+19
-8
19 additions, 8 deletions
.github/workflows/dependabot_jira.yml
with
19 additions
and
8 deletions
.github/workflows/dependabot_jira.yml
+
19
−
8
View file @
56d4e974
...
@@ -3,14 +3,14 @@ name: Create Dependabot Ticket on Jira
...
@@ -3,14 +3,14 @@ name: Create Dependabot Ticket on Jira
on
:
on
:
pull_request
:
pull_request
:
types
:
[
opened
,
reopened
]
types
:
[
opened
,
reopened
]
branches
:
[
develop
,
dev-2*
]
branches
:
[
develop
]
env
:
env
:
JIRA_BASE_URL
:
${{ secrets.JIRA_BASE_URL }}
JIRA_BASE_URL
:
${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL
:
${{ secrets.JIRA_USER_EMAIL }}
JIRA_USER_EMAIL
:
${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN
:
${{ secrets.JIRA_API_TOKEN }}
JIRA_API_TOKEN
:
${{ secrets.JIRA_API_TOKEN }}
JIRA_PROJECT_KEY
:
"
MON"
JIRA_PROJECT_KEY
:
"
MON"
JIRA_ISSUE_TYPE
:
"
Vulnerability
"
JIRA_ISSUE_TYPE
:
"
Technical
"
jobs
:
jobs
:
create_ticket
:
create_ticket
:
...
@@ -36,19 +36,30 @@ jobs:
...
@@ -36,19 +36,30 @@ jobs:
project
:
${{ env.JIRA_PROJECT_KEY }}
project
:
${{ env.JIRA_PROJECT_KEY }}
issuetype
:
${{ env.JIRA_ISSUE_TYPE }}
issuetype
:
${{ env.JIRA_ISSUE_TYPE }}
summary
:
|
summary
:
|
[
Dependency to upgrade on : centreon/
${{ github.event.repository.name }}] - ${{ github.event.pull_request.title }}
[${{ github.event.repository.name }}] - ${{ github.event.pull_request.title }}
description
:
|
description
:
|
{panel:title=
Dependency to upgrade
}
{panel:title=
Recommandation
}
${{ github.event.pull_request.title }}
${{ github.event.pull_request.title }}
{panel}
{panel}
More details are available in the *PR n°${{ github.event.pull_request.number }}*
More details are available in the *PR n°${{ github.event.pull_request.number }}*
The link is: ${{ github.event.pull_request.html_url }}
Github link is: ${{ github.event.pull_request.html_url }}
{panel:title=CVSS details}
More details are available on snyk
{panel}
*Github Advisory*
fields
:
fields
:
'
{
'
{
"customfield_10880":
"Internal",
"customfield_10880":
"Internal",
"customfield_10881":
"dependabot",
"customfield_10881":
"Dependabot",
"customfield_10866":
"${{
env.CURRENT_DATE
}}"
"customfield_10866":
"${{
env.CURRENT_DATE
}}",
"labels":
["Dependabot"],
"priority":
{"name":
"Highest"},
"components":[{"name":
"centreon-widget-hostgroup-monitoring"}]
}'
}'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment