Skip to content

Commit fc6b707

Browse files
authored
Merge branch 'MFlowCode:master' into master
2 parents b32b229 + ec01950 commit fc6b707

File tree

6 files changed

+32
-49
lines changed

6 files changed

+32
-49
lines changed

.github/file-filter.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ scripts: &scripts
2222
- 'toolchain/bootstrap/**'
2323

2424
yml: &yml
25-
- '**/*.yml'
25+
- '.github/workflows/phoenix/**'
26+
- '.github/workflows/frontier/**'
27+
- '.github/workflows/bench.yml'
28+
- '.github/workflows/test.yml'
29+
- '.github/workflows/formatting.yml'
2630

2731
checkall: &checkall
2832
- *fortran_src
2933
- *python_src
3034
- *cmakelist
3135
- *tests
3236
- *scripts
33-
- *yml
37+
- *yml

.github/workflows/bench.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020

2121
self:
2222
name: Georgia Tech | Phoenix (NVHPC)
23-
if: github.repository == 'MFlowCode/MFC'
23+
if: github.repository == 'MFlowCode/MFC' && needs.file-changes.outputs.checkall == 'true'
24+
needs: file-changes
2425
strategy:
2526
matrix:
2627
device: ['cpu', 'gpu']

.github/workflows/docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,14 @@ jobs:
4747
echo "url-count = ${{ steps.sitemap.outputs.url-count }}"
4848
echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}"
4949
50+
- name: Linkcheck - Lychee
51+
uses: lycheeverse/lychee-action@v2
52+
with:
53+
args: -c .lychee.toml build/install/docs/mfc/
54+
fail: false
55+
5056
- name: Publish Documentation
51-
if: github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && github.event_name == 'cron'
57+
if: github.repository == 'MFlowCode/MFC' && github.ref == 'refs/heads/master' && ( github.event_name == 'cron' || github.event_name == 'workflow_dispatch' )
5258
run: |
5359
set +e
5460
git ls-remote "${{ secrets.DOC_PUSH_URL }}" -q

.github/workflows/links.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.link_config.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

.lychee.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Maximum number of allowed retries before a link is declared dead.
2+
max_retries = 5
3+
4+
# Don't show interactive progress bar while checking links.
5+
no_progress = true
6+
7+
# Website timeout from connect to response finished.
8+
timeout = 20
9+
10+
# Minimum wait time in seconds between retries of failed requests.
11+
retry_wait_time = 4
12+
13+
# Comma-separated list of accepted status codes for valid links.
14+
# accept = ["200", "206", "403", "429"]
15+
accept = ["200", "429"]
16+
17+
verbose = "error"

0 commit comments

Comments
 (0)