...

Text file src/go.opentelemetry.io/otel/.github/workflows/links.yml

Documentation: go.opentelemetry.io/otel/.github/workflows

     1name: Links
     2
     3on:
     4  repository_dispatch:
     5  workflow_dispatch:
     6  schedule:
     7  # Everyday at 9:00 AM.
     8  - cron: "0 9 * * *"
     9
    10jobs:
    11  check-links:
    12    runs-on: ubuntu-latest
    13    steps:
    14    - name: Checkout Repo
    15      uses: actions/checkout@v4
    16
    17    - name: Link Checker
    18      id: lychee
    19      uses: lycheeverse/lychee-action@v1.8.0
    20
    21    - name: Create Issue From File
    22      if: steps.lychee.outputs.exit_code != 0
    23      uses: peter-evans/create-issue-from-file@v4
    24      with:
    25        title: Link Checker Report
    26        content-filepath: ./lychee/out.md
    27        labels: report, bot-generated

View as plain text