Skip to content

Fix theory root files #3

Fix theory root files

Fix theory root files #3

Workflow file for this run

name: Fix theory root files
on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:
jobs:
fix-theory:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Download scripts
run: |
mkdir -p /tmp/scripts
BASE="https://raw.githubusercontent.com/sou350121/Pulsar-KenVersion/main/scripts"
curl -sL "$BASE/_vla_theory_classifier.py" -o /tmp/scripts/_vla_theory_classifier.py
curl -sL "$BASE/fix-theory-root-files.py" -o /tmp/scripts/fix-theory-root-files.py
wc -c /tmp/scripts/*.py
- name: Run fix
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_GH_TOKEN || secrets.GITHUB_TOKEN }}
run: |
cd /tmp/scripts
python3 fix-theory-root-files.py --verbose
echo "---"
python3 fix-theory-root-files.py --apply --verbose