Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 031c5d3

Browse files
committed
Added GitHub action for detecting broken links
1 parent 7df9090 commit 031c5d3

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/broken-links.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
push:
3+
branches: master
4+
schedule:
5+
- cron: "0 16 * * *"
6+
name: broken links?
7+
jobs:
8+
linkChecker:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Link Checker
13+
id: lc
14+
uses: peter-evans/[email protected]
15+
with:
16+
args: -v -r *.md
17+
- name: Fail?
18+
run: exit ${{ steps.lc.outputs.exit_code }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-ruby&metric=alert_status)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-ruby)
55
[![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-ruby&metric=coverage)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-ruby)
66
[![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-ruby&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-ruby)
7+
[![](https://github.com/Mastercard/oauth1-signer-ruby/workflows/broken%20links%3F/badge.svg)](https://github.com/Mastercard/oauth1-signer-ruby/actions?query=workflow%3A%22broken+links%3F%22)
78
[![](https://img.shields.io/gem/v/mastercard-client-encryption.svg)](https://rubygems.org/gems/mastercard-client-encryption)
89
[![](https://img.shields.io/badge/license-MIT-yellow.svg)](https://github.com/Mastercard/client-encryption-ruby/blob/master/LICENSE)
910

0 commit comments

Comments
 (0)