1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
opentelemetry-go/.github/workflows/links.yml
Tyler Yahn e8fbfd3ec5
Update Link Checking and Markdown Linting Workflows (#2795)
* Add full docs check workflow

* Rename file

* Remove on pull requests trigger

Only run on merge to main and daily at 9am.

* Refactor link and markdown lint workflows

* Add lycheeignore

* Unify link check job name

* Remove markdown-link config

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2022-04-19 15:13:40 -07:00

28 lines
585 B
YAML

name: Links
on:
repository_dispatch:
workflow_dispatch:
schedule:
# Everyday at 9:00 AM.
- cron: "0 9 * * *"
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.4.1
- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v3
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, bot-generated