Skip to content

[FIX] Lychee failing action#352

Open
dansysanalyst wants to merge 1 commit intopestphp:4.xfrom
dansysanalyst:fix_link_checker
Open

[FIX] Lychee failing action#352
dansysanalyst wants to merge 1 commit intopestphp:4.xfrom
dansysanalyst:fix_link_checker

Conversation

@dansysanalyst
Copy link
Copy Markdown
Collaborator

Hi @owenvoke,

This PR updates lychee.toml according to the example proposed in the actions feedback https://github.com/lycheeverse/lychee/blob/lychee-v0.23.0/lychee.example.toml

PS: Sorry for the goofy branch commit.


# Custom request headers
headers = []
header = { "accept" = "text/html", "x-custom-header" = "value" }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need a custom header here. 👍🏻

Suggested change
header = { "accept" = "text/html", "x-custom-header" = "value" }
header = { "accept" = "text/html" }

############################# Runtime #############################

# File to read and write cookies
cookie_jar = "cookie-jar"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's comment out bits that aren't relevant for us.

Suggested change
cookie_jar = "cookie-jar"
# cookie_jar = "cookie-jar"

default_extension = "md"

# GitHub API token
github_token = "secret"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
github_token = "secret"
# github_token = "secret"

github_token = "secret"

# Resolve directories to index files
index_files = ["index.html"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
index_files = ["index.html"]
# index_files = ["index.html"]

index_files = ["index.html"]

# Preprocess input files
preprocess = { command = "preprocess.sh" }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
preprocess = { command = "preprocess.sh" }
# preprocess = { command = "preprocess.sh" }


# Remap URI matching pattern to different URI.
remap = [ "https://example.com http://example.invalid" ]
remap = ["https://example.com http://example.invalid"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
remap = ["https://example.com http://example.invalid"]
# remap = ["https://example.com http://example.invalid"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants