Daily Scanner #274
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Daily Scanner | |
# Run Scanner processor on a daily schedule | |
on: | |
schedule: | |
# runs every day at 4:45 UTC (23:45 EDT or 00:45 ET) | |
- cron: '45 4 * * *' | |
jobs: | |
daily-scanner: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Codebase | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run Scanner Processor | |
run: python main.py -p scanner | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_APP_TOKEN: ${{ secrets.SLACK_APP_TOKEN }} |