Skip to content

claer

claer #64

Workflow file for this run

name: claer
on:
schedule:
- cron: '30 06 * * *'
push:
branches:
- master
workflow_dispatch:
jobs:
clean:
name: Clean
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: Apocalypsor/Workflows-Cleaner
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install pipenv
run: python -m pip install --upgrade pipenv wheel
- name: Install dependencies
run: |
pipenv requirements > requirements.txt
pip install -r requirements.txt
- name: Clean
env:
GITHUB_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
EXPIRE_TIME: 12h
run: python run.py