Skip to content

Commit

Permalink
chore: fix lychee settings
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Nov 9, 2024
1 parent d420121 commit 83bfab2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/lychee.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
exclude = ["github.com/coreruleset.*/SECURITY.md", "github.com/coreruleset.*/.github/.*"]
user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0"
no_progress = true
cache = true
verbose = "debug"
accept = "200..=204, 429"
exclude_all_private = true
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@22134d37a1fff6c2974df9c92a7c7e1e86a08f9c # for v1.9.0
with:
args: --no-progress -u "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -E './content/**/*.md'
args: "--cookie-jar /tmp/lychee-cookies './content/**/*.md'"
jobSummary: true
2 changes: 1 addition & 1 deletion content/development/contribution_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ Rule tests also provide an excellent way to test WAF engines and implementations

The rule tests are located under `tests/regression/tests`. Each CRS rule *file* has a corresponding *directory* and each individual *rule* has a corresponding *YAML file* containing all the tests for that rule. For example, the tests for rule 911100 *(Method is not allowed by policy)* are in the file `REQUEST-911-METHOD-ENFORCEMENT/911100.yaml`.

Full documentation of the required formatting and available options of the YAML tests can be found at https://github.com/coreruleset/ftw-tests-schema/blob/main/spec/v2.0/ftw.md.
Full documentation of the required formatting and available options of the YAML tests can be found at https://github.com/coreruleset/ftw-tests-schema/blob/main/spec.

### Positive Tests

Expand Down
3 changes: 0 additions & 3 deletions lychee.toml

This file was deleted.

0 comments on commit 83bfab2

Please sign in to comment.