Skip to content

Delete-1day

Delete-1day #39

Workflow file for this run

name: Delete-1day
on:
repository_dispatch:
workflow_dispatch:
# 定时触发编译
# schedule:
# - cron: 0 0 * * 0
jobs:
Delete-1day:
runs-on: ubuntu-20.04
steps:
- name: Clone Repository
uses: actions/checkout@v4
- name: Set git
run : |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
sudo timedatectl set-timezone "Asia/Shanghai"
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@main
continue-on-error: true
with:
retain_days: 1
keep_minimum_runs: 0