Skip to content

Bug Content Classification Workflow #32

Bug Content Classification Workflow

Bug Content Classification Workflow #32

Workflow file for this run

name: Bug Content Classification Workflow
on:
workflow_dispatch: ##Trigger manually
##schedule every 2 hours
# schedule:
# - cron: '0 */2 * * *'
# ##whenever issue is opened
# issues:
# types: [opened]
##################Uncomment above code to run the workflow periodically####################
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Script
env:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
API_KEY: ${{ secrets.GOOGLE_API_KEY }}
run: |
python src/run_filter.py > result.txt
cat result.txt