Skip to content

Commit

Permalink
Add .github/workflows/dependabot-security-updates.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent 7c1e040 commit 2bf03fd
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/dependabot-security-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Dependabot Security Updates
on:
pull_request:
branches:
- main
- master
jobs:
notify:
if: startsWith(github.head_ref, 'dependabot/')
name: Notify Slack
uses: amberdata/cicd/.github/workflows/[email protected]
with:
slack_webhook_url_secret_name: /production/0001/vulnerability-scanning/slack-webhook-url
slack_payload: |
{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "Dependabot Security Updates"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*Repository Name:*\n${{ github.event.repository.name }}"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Security update available:*\n*<${{ github.event.pull_request.html_url }}|Pull Request>*"
}
]
}
]
}
secrets:
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

0 comments on commit 2bf03fd

Please sign in to comment.