Skip to content

Commit

Permalink
Draft upgrading lychee link-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
poornima-krishnasamy committed Jan 12, 2024
1 parent 276f9bb commit 40cee7f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Links
on:
repository_dispatch:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
schedule:
- cron: "00 18 * * *"

Expand All @@ -13,14 +15,14 @@ jobs:
- uses: actions/checkout@v2

- name: Link Checker
uses: lycheeverse/lychee-action@v1.0.9
uses: lycheeverse/lychee-action@v1.8.0
with:
args: --verbose --no-progress **/*.md **/*.html **/*.erb --exclude-file .ignore-links --accept 200,429,403,400,301,302 --exclude-mail
args: --verbose --no-progress **/*.md **/*.html **/*.erb .ignore-links --accept 200,429,403,400,301,302 --exclude-mail
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Create Issue From File
uses: peter-evans/create-issue-from-file@v3
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
Expand Down
38 changes: 38 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
https://127.0.0.1:4001/
[email protected]
[email protected]
https://api.david-test1.cloud-platform.service.justice.gov.uk/
https://login.david-test1.cloud-platform.service.justice.gov.uk/
https://cert-manager-webhook.cert-manager.svc
https://hooks.slack.com/services/HGJKHJKSH/DFJKHKIUO/DJFHKDUJFKSUHUGIDHKUDGD
https://github.com/search?q=org%3Aministryofjustice+cloud-platform-terraform
https://b04c5fc7828a0515457e141a9610815d.sk1.eu-west-2.eks.amazonaws.com
https://api.xxxxxxx.cloud-platform.service.justice.gov.uk
https://modsec01-nx-modsec-admission.ingress-controllers.svc
https://aws-login.cloud-platform.service.justice.gov.uk/
https://etcd-a.internal.test-etcd-1.cloud-platform.service.justice.gov.uk
https://etcd-b.internal.test-etcd-1.cloud-platform.service.justice.gov.uk
https://etcd-c.internal.test-etcd-1.cloud-platform.service.justice.gov.uk
https://127.0.0.1
https://b04c5fc7828a0515457e141a9610815d.sk1.eu-west-2.eks.amazonaws.com/
https://etcd-x.internal/
https://concourse.apps.david-test1.cloud-platform.service.justice.gov.uk/
http://localhost:9090
https://sonarqube.thistheurl.com/
https://app.zenhub.com/workspaces/cloud-platform-team-5ccb0b8a81f66118c983c189/board
https://abc123:[email protected]/api/dashboard/snapshots
https://abc123:[email protected]/api/snapshots/abcdefg123456
https://35.179.65.116
https://github.com/organizations/ministryofjustice/settings/applications
https://github.com/moj-analytical-services/analytical-platform-flux/blob/main/clusters/development/prometheus/prometheus.yaml
https://github.com/ministryofjustice/transit-gateways/tree/master/terraform/cloud-platform
https://github.com/ministryofjustice/transit-gateways
https://github.com/ministryofjustice/deployment-tgw
https://github.com/ministryofjustice/transit-gateways/tree/add-live-2-cluster-tgw
https://github.com/ministryofjustice/transit-gateways/tree/master/terraform/cloud-platform
https://registry-1.docker.io/v2/ministryofjustice/cloud-platform-tools/manifests/2.1
https://hooks.slack.com/services/xxxxxx/xxxxxx/xxxxx
https://aws.amazon.com/SAML/Attributes/PrincipalTag:GithubTeam
https://drive.google.com/file/d/109QZ6H_Z7a11J8CaKpt2PPgwL2Y_7KWT/view?usp=sharing
https://drive.google.com/file/d/1Jm9hPX0cjZ8ZxTDGsUiC6cb56LWkw2Qm/preview
https://drive.google.com/file/d/109QZ6H_Z7a11J8CaKpt2PPgwL2Y_7KWT/view?usp=sharing

0 comments on commit 40cee7f

Please sign in to comment.