StackStorm / StackStorm/st2-packages

Use bash -n to check scripts

Open
#692 0 comments 2 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.