Cron #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cron | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "7 3 * * 0" | |
jobs: | |
html_documentation_link_checks: | |
timeout-minutes: 5 | |
if: github.repository_owner == 'modelica' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 5 | |
- name: Setup python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install python packages | |
run: pip install --user futures | |
- name: Check links | |
timeout-minutes: 3 | |
run: python ./.CI/check_html.py checkLinks ./ | |
clean_workflow_runs: | |
timeout-minutes: 5 | |
if: github.repository_owner == 'modelica' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Delete workflow runs | |
uses: dmvict/clean-workflow-runs@v1 | |
with: | |
run_conclusions: skipped,success | |
save_period: 60 | |
save_min_runs_number: 6 | |
dry: false |