Skip to content

added GitHub link

added GitHub link #86

Workflow file for this run

# This workflow runs scripts/ProtocolsTable.py and commits protocols.csv to this branch
name: Generate CSV
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
generate-csv:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- name: Run script
run: python scripts/ProtocolsTable.py
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update protocols.csv"
file_pattern: "*.csv"