Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

boamp-extractor

boamp-extractor #644

name: boamp-extractor
on:
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
# to consider: the use of action jobs to breakout each task
# https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions#sharing-data-between-jobs
jobs:
boamp:
runs-on: ubuntu-latest
timeout-minutes: 45
environment: CI
steps:
- name: checkout the repo
uses: actions/checkout@v2
- name: install dependencies
run: |
pip3 install -r requirements.txt
- name: run scraper
env:
MSTEAMS_WEBHOOK: ${{ secrets.MSTEAMS_WEBHOOK }}
run: |
python3 boamp-extractor.py
- name: save changes
run: |
git config --global user.email "bot-parser@users.noreply.github.com"
git config --global user.name "Bot-Parser"
git commit --all --message "Updated by Bot-Parser" || echo "no changes to commit"
git push