Skip to content

Commit 426d8af

Browse files
authored
Merge pull request #91 from trailofbits/fix-links
Fix broken links and improve link checking
2 parents 158e472 + 1293667 commit 426d8af

File tree

8 files changed

+27
-26
lines changed

8 files changed

+27
-26
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
groups:
9+
actions-deps:
10+
patterns:
11+
- "*"

.github/workflows/hugo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
- name: Install Dart Sass Embedded
4040
run: sudo snap install dart-sass-embedded
4141
- name: Checkout
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4343
with:
4444
submodules: recursive
4545
- name: Setup Pages
4646
id: pages
47-
uses: actions/configure-pages@v5
47+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
4848
- name: Install Node.js dependencies
4949
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5050
- name: Build with Hugo
@@ -57,7 +57,7 @@ jobs:
5757
--minify \
5858
--baseURL "${{ steps.pages.outputs.base_url }}/"
5959
- name: Upload artifact
60-
uses: actions/upload-pages-artifact@v3
60+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
6161
with:
6262
path: ./public
6363

@@ -71,4 +71,4 @@ jobs:
7171
steps:
7272
- name: Deploy to GitHub Pages
7373
id: deployment
74-
uses: actions/deploy-pages@v4
74+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

.github/workflows/markdown.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ jobs:
1111
markdown-link-check:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1515
- name: Restore lychee cache
16-
uses: actions/cache@v4
16+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
1717
with:
1818
path: .lycheecache
1919
key: cache-lychee-${{ github.sha }}
2020
restore-keys: cache-lychee-
21-
- uses: lycheeverse/lychee-action@f613c4a64e50d792e0b31ec34bbcbba12263c6a6 # for v2.3.0
21+
- uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0
2222
with:
23-
args: --base . -a 100..=103,200..=299,429 --verbose --no-progress --cache --max-cache-age 1d --scheme http --scheme https './**/*.md' './layout/shortcodes/fuzzing/*.html'
23+
args: -a 200..=204,403,429 --verbose --no-progress --cache --max-cache-age 1d --scheme http --scheme https './**/*.md' './layout/shortcodes/fuzzing/*.html'
2424
fail: true
2525
# Lint Markdown files
2626
# Uses: a custom configuration file
2727
markdown-linter:
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v4
31-
- uses: DavidAnson/markdownlint-cli2-action@v19
30+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
31+
- uses: DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 # v19
3232
with:
3333
globs: "**/*.md"
3434
# Spellcheck Markdown files using `retext` and `remark`
3535
# Uses: a custom dictionary file
3636
spellcheck:
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: actions/checkout@v4
40-
- uses: tbroadley/spellchecker-cli-action@v1
39+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
40+
- uses: tbroadley/spellchecker-cli-action@8369e98753c0d2c3a3c76fb4519d9056d1d4b129 # v1
4141
with:
4242
# No need to use a dictionary file with the disabled spell plugin
4343
# dictionaries: '.github/workflows/dictionary.txt'

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install Dart Sass Embedded
3434
run: sudo snap install dart-sass-embedded
3535
- name: Checkout
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3737
with:
3838
submodules: recursive
3939
- name: Install Node.js dependencies
@@ -48,7 +48,7 @@ jobs:
4848
--minify \
4949
--baseURL "https://trailofbits.github.io/testing-handbook-preview/pr-preview/pr-${{ github.event.number }}/"
5050
- name: Deploy preview
51-
uses: rossjrw/pr-preview-action@v1
51+
uses: rossjrw/pr-preview-action@8ff09e486b4c23709012eedd3b42e9f0b95dd0c5 # v1
5252
with:
5353
source-dir: ./public/
5454
token: ${{ secrets.TESTING_HANDBOOK_PREVIEW_REPO }}

.lycheeignore

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

content/docs/fuzzing/c-cpp/12-libafl/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,5 +978,5 @@ The fuzzing campaign can be launched by running:
978978
## Additional resources
979979

980980
* Official [handbook on LibAFL](https://aflplus.plus/libafl-book/)
981-
* [Explanation of how to use LibAFL for a Rust project](https://github.com/AFLplusplus/LibAFL/tree/main/libafl_libfuzzer#usage)
981+
* [Explanation of how to use LibAFL for a Rust project](https://github.com/AFLplusplus/LibAFL/tree/main/crates/libafl_libfuzzer#usage)
982982
- An example [project that uses cargo-fuzz with the LibAFL shim](https://github.com/AFLplusplus/LibAFL/tree/main/fuzzers/fuzz_anything/cargo_fuzz)

content/docs/static-analysis/semgrep/10-advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extension is not standard.
2727
### Files/directories
2828

2929
- By default, Semgrep follows the default
30-
[.semgrepignore](https://github.com/semgrep/semgrep/blob/develop/cli/src/semgrep/templates/.semgrepignore) file.
30+
[.semgrepignore](https://github.com/semgrep/semgrep/blob/develop/src/targeting/default.semgrepignore) file.
3131
- If present, Semgrep will look at the repository's `.gitignore` file.
3232
- In case of a conflict between the two files, the `.semgrepignore` file takes precedence. This means that if the
3333
`.gitignore` file includes a file and the `.semgrepignore` file excludes it, Semgrep will not analyze the file.

mlc_config.json

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

0 commit comments

Comments
 (0)