You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "jbampton (via GitHub)" <gi...@apache.org> on 2025/07/24 12:43:23 UTC

[I] Add `actionlint` with `pre-commit`: a static checker for GitHub Actions workflow files [cloudstack]

jbampton opened a new issue, #11288:
URL: https://github.com/apache/cloudstack/issues/11288

   [actionlint](https://github.com/rhysd/actionlint) is a static checker for GitHub Actions workflow files
   
   Check out the actionlint playground:
   
   https://rhysd.github.io/actionlint/
   
   https://github.com/rhysd/actionlint/blob/v1.7.7/docs/usage.md#pre-commit
   
   ```
   repos:
     - repo: https://github.com/rhysd/actionlint
       rev: v1.7.7
       hooks:
         - id: actionlint
   ```
   
   So the hook will need to be added to the pre-commit config and then all the `actionlint` lint errors will need fixing
   
   The next document describes all checks done by actionlint with example inputs, outputs, and playground links:
   
   https://github.com/rhysd/actionlint/blob/v1.7.7/docs/checks.md


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org