Skip to content

Main

Main #337

Workflow file for this run

name: Main
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 18 * * *"
push:
branches:
- main
pull_request:
branches:
- main
jobs:
link-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.9.0
with:
args: "README.md"
- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
readme-to-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Run Script
run: python scripts/readme-to-data.py README.md data.json
- name: Git Auto Commit
uses: stefanzweifel/git-auto-commit-action@v5.0.0
with:
commit_message: Update data.json