Skip to content

Install Vale in GitHub Action #1392

@stevepiercy

Description

@stevepiercy

To use the GitHub Action, I would need to translate the command from Makefile to get the list of files to lint, and set an environment variable:

VALEFILES := $(shell find -L $(DOCS_DIR) -type d \( -path $(DOCS_DIR)/plone.restapi/lib/* -o -path $(DOCS_DIR)"/plone.restapi/performance/*" \) -prune -false -o -type f -name "*.md" -print)

How would I translate that to GitHub Actions? I have no idea.

It might be easier to just install Vale where all the other tests are run in CI and use make vale. Narrator: it wasn't.

There is also an option to use a GitHub Action of Vale, and I might try that as well.

Originally posted by @stevepiercy in #1366 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions