Skip to content

Commit 7527262

Browse files
authored
Merge pull request kubernetes-sigs#7960 from killianmuldoon/link-checker
🌱 Run weekly markdown check against all supported branches
2 parents 42063b7 + bdf66ed commit 7527262

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/lint-docs-weekly.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ permissions: {}
1010
jobs:
1111
markdown-link-check:
1212
name: Broken Links
13+
strategy:
14+
matrix:
15+
branch: [ main, release-1.3, release-1.2 ]
1316
runs-on: ubuntu-latest
1417
steps:
1518
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag=v3.3.0
19+
with:
20+
ref: ${{ matrix.branch }}
1621
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # tag=v1
1722
with:
1823
use-quiet-mode: 'yes'

docs/release/release-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ This comes down to changing occurrences of the old version to the new version, e
111111
5. Modify the test specs in `test/e2e/clusterctl_upgrade_test.go` (according to the versions we want to test described above).
112112
Please note that `InitWithKubernetesVersion` should be the highest mgmt cluster version supported by the respective Cluster API version.
113113
2. Update `create-local-repository.py` and `tools/tilt-prepare/main.go`: `v1.3.99` => `v1.4.99`.
114-
3. Update `.github/workflows/scan.yml` to setup Trivy scanning for the currently supported branches.
114+
3. Update `.github/workflows/scan.yml` - to setup Trivy scanning - and `.github/workflows/lint-docs-weekly.yml` - to setup link checking in the CAPI book - for the currently supported branches.
115115
4. Make sure all tests are green (also run `pull-cluster-api-e2e-full-main` and `pull-cluster-api-e2e-workload-upgrade-1-23-latest-main`).
116116

117117
Prior art: https://github.com/kubernetes-sigs/cluster-api/pull/6834/files

0 commit comments

Comments
 (0)