Search for DependaBot files #7
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: Search files | |
on: | |
schedule: | |
- cron: '28 23 * * 2' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TOKEN: ${{ secrets.READ_CONTENT }} | |
ORGANIZATION: ${{ secrets.ORGANIZATION }} | |
WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Test the basic usage | |
run: | | |
python3 scripts/search_files.py --org $ORGANIZATION --token $TOKEN | python3 scripts/slack_webhook.py --webhook $WEBHOOK |