Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/dependabot-alerts-to-slack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Check for Dependabot alerts & send them to slack'

on:
schedule:
- cron: '0 8 * * *' # every day at 8 am
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this is in UTC? We might want to update this and shift this later in the day after we test things out and it works. 👍

workflow_dispatch: # to have the option to run this ad-hoc

jobs:
main:
runs-on: ubuntu-latest
steps:
# X.X.X - Latest version available at: https://github.com/kunalnagarco/action-cve/releases
- uses: kunalnagarco/action-cve@v1.13.2
with:
token: ${{ secrets.DEPENDABOT_TOKEN }}
slack_webhook: ${{ secrets.SLACK_WEBHOOK }}
count: 10