Skip to content

Conversation

maxstack
Copy link
Contributor

@maxstack maxstack commented Jul 11, 2025

Add ansible-lint and super-linter to the Github PR workflow and fix all linting issues.
Push and pull requests trigger a new main.yml workflow responsible for running the linter.
The original extra.yml, stackhpc.yml, and trivyscan.yml workflows are now triggered from the main workflow, only if linting completes successfully.
The original workflows can also be triggered manually.

maxstack added 30 commits June 17, 2025 09:52
The super-linter.env currently has the following additions that are to be addressed in the future:
VALIDATE_GITHUB_ACTIONS=false
VALIDATE_SHELL_SHFMT=false
VALIDATE_YAML=false

Most of the linting for the above has been addressed with just a single issue remaining that blocks the linter from being enabled.
@maxstack maxstack marked this pull request as ready for review September 11, 2025 21:13
@maxstack maxstack requested a review from a team as a code owner September 11, 2025 21:13
Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

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

One comment, also some warnings showing in the review pane re. tasks without names, be nice to fix those too.

@maxstack maxstack force-pushed the ci/enable-linting branch 4 times, most recently from 5e67fc5 to 687c219 Compare September 17, 2025 17:43
…t inadvertently break any existing checkouts.

Direct ansible-lint to use .ansible/collections so downloads are excluded from linting by our .ansible-lint.yml
@sjpb sjpb self-requested a review September 18, 2025 11:01
Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

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

LGTM

@sjpb sjpb merged commit c12ec99 into main Sep 18, 2025
41 of 42 checks passed
@sjpb sjpb deleted the ci/enable-linting branch September 18, 2025 11:16
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.

2 participants