Skip to content

Commit 25fb564

Browse files
authored
Create alert.workflow
1 parent 06cc5e3 commit 25fb564

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/alert.workflow

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: VulnAlerts
2+
3+
on:
4+
schedule:
5+
- cron: '*/1 * * * *'
6+
7+
jobs:
8+
alert:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: install dependencies
13+
run: pip3 install -r requirements.txt
14+
- name: run python script
15+
env:
16+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
17+
run: python3 main.py
18+
- name: done
19+
run: echo 'done'

0 commit comments

Comments
 (0)