ansys / ansys/actions

Implement shellcheck for code quality

Open
#902 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
7
Avg merge
2d 4h
Merged PRs (30d)
50

Description

[ShellCheck](https://www.shellcheck.net/) is a great tool for ensuring consistency and best practices across shell scripts. It expects complete shell scripts but I bet we can create a custom workflow for checking `shell: bash` blocks.

It will save us from issues like this one: https://github.com/ansys/actions/pull/901

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the repository's reusable GitHub Actions workflows and the issue linked to pull request #901 to identify the shell:bash blocks that need checking. Research how ShellCheck can process those blocks in a custom workflow; done means the workflow checks them consistently and reports shell quality issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, github-actions, shell
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.