Skip to content

Cleanup after CI tests #1121

Cleanup after CI tests

Cleanup after CI tests #1121

Workflow file for this run

name: "Cleanup after CI tests"
on:
schedule:
- cron: 0 5 * * *
jobs:
posttest:
runs-on: ubuntu-latest
steps:
- name: Checkout commit
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install -r requirements/cleanup.txt
- name: Delete test image
env:
GH_USERNAME: ${{ secrets.GH_CONTAINERS_CLEANUP_USERNAME }}
GH_PASSWORD: ${{ secrets.GH_CONTAINERS_CLEANUP_PAT }}
GH_REPO_NAME: neuro-extras
STALE_DAYS: "7"
run: |
python .github/workflows/cleanup.py