Skip to content

Commit

Permalink
Add a link checker action
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Mar 27, 2024
1 parent f3afe7a commit ff09211
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/link-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Link Checking

"on":
pull_request:
push:
branches: [main]

jobs:
md-links:
name: Run markdown link check
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: markdown-link-check
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: "yes"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The following Kubernetes environments are tested:

## Documentation

Please see the [docs](/docs) directory for more in-depth information.
Please see the [docs](./docs) directory for more in-depth information.

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion docs/user-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ Note: This is not possible immediately after performing the operator upgrade.
kubectl get mondooauditconfigs.v1alpha1.k8s.mondoo.com mondoo-client -n mondoo-operator -o yaml > audit-config.yaml
```
2. Map the old `v1alpha1` config to the new `v1alpha2` and save the new `MondooAuditConfig`. Find the mapping from `v1alpha1` to `v1alpha2` [here](../api/v1alpha1/mondooauditconfig_types.go#L155-L199).
2. Map the old `v1alpha1` config to the new `v1alpha2` and save the new `MondooAuditConfig`. Find the mapping from `v1alpha1` to `v1alpha2`.
3. Disable the `webhook` conversion for the `MondooAuditConfig` CRD:
Expand Down

0 comments on commit ff09211

Please sign in to comment.