-
Notifications
You must be signed in to change notification settings - Fork 464
43 lines (40 loc) · 1.24 KB
/
repo_healthcheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Repo Healthcheck
on:
schedule:
# Triggers the workflow every day at 0130 UTC
- cron: "30 1 * * *"
workflow_dispatch:
jobs:
#---------------------------------------------------
# Repo Analytics
#---------------------------------------------------
repo-analytics:
runs-on: ubuntu-22.04
environment: "analytics"
steps:
- uses: jgehrcke/github-repo-stats@HEAD
with:
ghtoken: ${{ secrets.GH_TOKEN_ANALYTICS }}
#---------------------------------------------------
# Check for broken links in *md files
#---------------------------------------------------
# markdown-link-check:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@master
# - name: Create configuration for handling relative paths
# # regex validation: https://regex101.com/r/L2M2wa/1
# run: |
# cat <<EOF > mlc_config.json
# {
# "replacementPatterns": [
# {
# "pattern": "^[./]",
# "replacement": "{{BASEURL}}/"
# }
# ]
# }
# EOF
# - uses: gaurav-nelson/github-action-markdown-link-check@v1
# with:
# config-file: 'mlc_config.json'