[BUG REPORT] Carey Foster’s Bridge to Measure Specific Resistance of Material #104
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: Bug Content Classification Workflow | |
on: | |
workflow_dispatch: ##Trigger manually | |
##schedule every 2 hours | |
schedule: | |
- cron: '0 */2 * * *' | |
# ##whenever issue is opened | |
issues: | |
types: [opened] | |
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 |