Skip to content

Commit

Permalink
[2022-08-22 - ready to ship]: Dependabot alerts: optional comment wit…
Browse files Browse the repository at this point in the history
…h dismissal - [GA] (github#29524)
  • Loading branch information
mchammer01 authored Aug 22, 2022
1 parent 8eb7898 commit aab19ae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ If you schedule extensive work to upgrade a dependency, or decide that an alert

1. View the details for an alert. For more information, see "[Viewing vulnerable dependencies](#viewing-dependabot-alerts)" (above).
1. Select the "Dismiss" dropdown, and click a reason for dismissing the alert.{% ifversion reopen-dependabot-alerts %} Unfixed dismissed alerts can be reopened later.{% endif %}
![Choosing reason for dismissing the alert via the "Dismiss" drop-down](/assets/images/help/repository/dependabot-alert-dismiss-drop-down-ungrouped.png)
{% ifversion dependabot-alerts-dismissal-comment %}1. Optionally, add a dismissal comment. The dismissal comment will be added to the alert timeline and can be used as justification during auditing and reporting. You can retrieve or set a comment by using the GraphQL API. The comment is contained in the `dismissComment` field. For more information, see "[{% data variables.product.prodname_dependabot_alerts %}](/graphql/reference/objects#repositoryvulnerabilityalert)" in the GraphQL API documentation.
![Screenshot showing how to dismiss an alert via the "Dismiss" drop-down, with the option to add a dismissal comment](/assets/images/help/repository/dependabot-alerts-dismissal-comment.png)
1. Click **Dismiss alert**.
{% else %}
![Choosing reason for dismissing the alert via the "Dismiss" drop-down](/assets/images/help/repository/dependabot-alert-dismiss-drop-down-ungrouped.png){% endif %}
{% ifversion dependabot-bulk-alerts %}

### Dismissing multiple alerts at once
Expand Down
7 changes: 7 additions & 0 deletions data/features/dependabot-alerts-dismissal-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Reference: Issue #7673 - Dependabot alerts: optional comment with dismissal - [GA]

versions:
fpt: '*'
ghec: '*'
ghes: '>3.6'
ghae: 'issue-7673'

0 comments on commit aab19ae

Please sign in to comment.