Skip to content

Commit

Permalink
Fix broken link in README and add links check to CI (#1450)
Browse files Browse the repository at this point in the history
Fix broken link in README and add GH for validating links.
  • Loading branch information
RonFed authored Aug 18, 2024
1 parent 683388c commit 59ab025
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check links

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

jobs:
check-links:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: lycheeverse/lychee-action@v1.10.0
with:
args: >-
-v -n "*.md" "**/*.md"
--exclude "http://localhost*"
fail: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://github.com/odigos-io/odigos/actions/workflows/publish-cli.yml" target="_blank">
<img src="https://github.com/odigos-io/odigos/actions/workflows/publish-cli.yml/badge.svg" alt="Release Odigos CLI" style="margin-right: 10px; border: 1px solid #007acc; border-radius: 4px; padding: 5px;">
<a href="https://github.com/odigos-io/odigos/actions/workflows/release.yml" target="_blank">
<img src="https://github.com/odigos-io/odigos/actions/workflows/release.yml/badge.svg" alt="Release Odigos CLI" style="margin-right: 10px; border: 1px solid #007acc; border-radius: 4px; padding: 5px;">
</a>
<a href="https://goreportcard.com/report/github.com/odigos-io/odigos/cli" target="_blank">
<img src="https://goreportcard.com/badge/github.com/odigos-io/odigos/cli" alt="Go Report Card" style="margin-right: 10px; border: 1px solid #4CAF50; border-radius: 4px; padding: 5px;">
Expand Down

0 comments on commit 59ab025

Please sign in to comment.