Skip to content

Bad external links may block release #717

@MikeMcC399

Description

@MikeMcC399

Problem description

The workflow .github/workflows/main.yml may fail to release a new version of GHA if a link to an external website in a Markdown document fails. This can happen due to a failure on a website which is not under control of cypress-io.

The build-and-test job inside .github/workflows/main.yml runs npm run check:markdown which in turn calls npm package markdown-link-check to check hyperlinks in Markdown files. The failures do not necessarily mean that there is an error in GHA which should stop a new release being published.

Expected behavior

It should be possible to release a new version of GHA even if an external website is failing for external reasons.

Suggested fix

In .github/workflows/main.yml remove npm run check:markdown from the build-and-test job and place it inside a new independent job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions