kopia lustrzana https://github.com/beardicus/awesome-plotters
28 wiersze
632 B
YAML
28 wiersze
632 B
YAML
name: Check links
|
|
|
|
on:
|
|
repository_dispatch:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '42 04 * * *'
|
|
|
|
jobs:
|
|
check-links:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Lychee Link Checker
|
|
id: lychee
|
|
uses: lycheeverse/lychee-action@v1.5.4
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
|
|
- name: Create Issue From File
|
|
if: steps.lychee.outputs.exit_code != 0
|
|
uses: peter-evans/create-issue-from-file@v4
|
|
with:
|
|
title: Link Checker Report
|
|
content-filepath: ./lychee/out.md
|
|
labels: report, automated
|