StackStorm / StackStorm/st2-packages
Use bash -n to check scripts
Open
Nobody has claimed this yet.
complexity:easy
enhancement
feature
tests
- Dominant language
- Shell
- Stars
- 28
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
Three different people missed the syntax error in #689, leading to #691.
We should check that our scripts actually compile as part of the CI for this repository. That's just a very basic "seatbelt" to make sure our scripts will at least successfully run.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the repository's CI configuration and identify the scripts that should be checked with bash -n. Run the existing CI or relevant checks after adding the syntax validation; done means syntax errors in repository scripts cause CI to fail.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, shell
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100