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

Commit 5075ca4

Browse files
committed
Added GitHub action for detecting broken links, fixed link
1 parent 40d4183 commit 5075ca4

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# client-encryption-php
22

33
[![](https://travis-ci.org/Mastercard/client-encryption-php.svg?branch=master)](https://travis-ci.org/Mastercard/client-encryption-php)
4-
[![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-php&metric=alert_status)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-php)
4+
[![](https://sonarcloud.io/api/project_badges/measure?project=Mastercard_client-encryption-php&metric=alert_status)](https://sonarcloud.io/dashboard?id=Mastercard_client-encryption-php)
5+
[![](https://github.com/Mastercard/client-encryption-php/workflows/broken%20links%3F/badge.svg)](https://github.com/Mastercard/client-encryption-php/actions?query=workflow%3A%22broken+links%3F%22)
56
[![](https://img.shields.io/packagist/v/mastercard/client-encryption.svg)](https://packagist.org/packages/mastercard/client-encryption)
67
[![](https://img.shields.io/badge/license-MIT-yellow.svg)](https://github.com/Mastercard/client-encryption-php/blob/master/LICENSE)
78

@@ -301,7 +302,7 @@ $config = FieldLevelEncryptionConfigBuilder::aFieldLevelEncryptionConfig()
301302

302303
See also:
303304
* [FieldLevelEncryptionConfig.php](https://github.com/Mastercard/client-encryption-php/blob/master/src/Developer/Encryption/FieldLevelEncryptionConfig.php) for all config options
304-
* [Service configurations in PHP](https://github.com/Mastercard/client-encryption-php/wiki/Service-Configurations-in-PHP) wiki page
305+
* [Service Configurations for Client Encryption PHP](https://github.com/Mastercard/client-encryption-php/wiki/Service-Configurations-for-Client-Encryption-PHP)
305306

306307
##### Encrypting Using HTTP Headers
307308

0 commit comments

Comments
 (0)