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 5c58bf0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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
8 changes: 6 additions & 2 deletions lychee.toml
Original file line number Diff line number Diff line change
@@ -1,3 +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
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

0 comments on commit 5c58bf0

Please sign in to comment.