Skip to content

ci: replace deprecated markdown link check with lychee - #73

Open
karakoc49 wants to merge 1 commit into
simatic-ax:mainfrom
karakoc49:ci/replace-link-check-with-lychee
Open

karakoc49 wants to merge 1 commit into
simatic-ax:mainfrom
karakoc49:ci/replace-link-check-with-lychee

Conversation

@karakoc49

@karakoc49 karakoc49 commented Sep 30, 2026 •

Copy link
Copy Markdown

Fixes #64

gaurav-nelson/github-action-markdown-link-check is deprecated, as reported in #64. This PR replaces it with lycheeverse/lychee-action@v2, as proposed in the issue:

  • Repository workflow: The link check step now uses lychee. This job only checks links, so it no longer runs in the apax CI container, and packages: read is dropped.
  • Template workflow (template/.github/workflows/…): The link check moves to a separate check-links job without the container. It doesn't need the SIMATIC AX tooling or APAX_TOKEN, and it doesn't depend on which tools are installed in the image.

Note: The old action only checked modified files. Lychee checks all Markdown files. This found one broken link: template/README.md links to LICENSE.md, which was removed from template/ in 7bb1113. I assumed it is provided when an app is generated, since templatify-meta-information.yml still lists it, so I excluded it in the repository workflow. If template/LICENSE.md should exist instead, I'm happy to change this.

Tested on my fork: the workflow passes, with lychee checking 6 links, 0 errors and 1 excluded. actionlint is clean for the changed parts.

Related: simatic-ax/template-library#77 (same change)

gaurav-nelson/github-action-markdown-link-check is deprecated. Use
lycheeverse/lychee-action instead, both in this repository's workflow
and in the workflow shipped with the template.

The link check does not need the SIMATIC AX tooling, so it no longer
runs inside the apax CI container.

Fixes simatic-ax#64
Copilot AI balanced review requested due to automatic review settings September 30, 2026 17:08
@karakoc49
karakoc49 requested a review from a team as a code owner September 30, 2026 17:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

[Feature]: Exchange link checking action with a maintained one

2 participants