Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions: add actionlint job #1

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Commits on Oct 13, 2024

  1. GH Actions: add actionlint job

    Add a separate job to the `reusable-yamllint` workflow to validate the (reusable) workflows against common errors and potential problems and show the results inline in pull requests.
    
    In particular, this is intended to protect against errors being introduced in the reusable workflows, as not all of those are run from within this repo, so errors would only be discovered via a failing build in _another_ repo, which does run the reusable workflow. This new job is intended to prevent this potential issue.
    
    As this is a reusable workflow, other repos using this workflow will automatically inherit this job. While this may not be _strictly_ necessary (as for other repos, the workflows will generally always be run), it also doesn't do any harm to have that extra verification in place.
    
    Loosely based on wp-cli/.github 111
    
    Refs:
    * https://github.com/rhysd/actionlinthttps://github.com/rhysd/actionlint
    * https://github.com/rhysd/actionlint/blob/main/docs/README.md
    
    Co-authored-by: Thorsten Frommen <[email protected]>
    jrfnl and tfrommen committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    dbd8014 View commit details
    Browse the repository at this point in the history