Skip to content

Check BraTS Data Access requests #495

Check BraTS Data Access requests

Check BraTS Data Access requests #495

name: Check BraTS Data Access requests
on:
schedule:
- cron: '*/20 * * * *' # Run every 20 minutes
workflow_dispatch:
jobs:
check-responses:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.ref }}
persist-credentials: false
fetch-depth: 0
- name: Create Google Client credentials file
uses: jsdaniell/[email protected]
with:
name: 'service_account.json'
json: ${{ secrets.GOOGLE_CLIENT_JSON }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install gspread synapseclient pandas
- name: Validate responses
run: |
python3 validate_form_responses.py
env:
SYNAPSE_AUTH_TOKEN: ${{ secrets.SYNAPSE_AUTH_TOKEN }}