Set bash -euo pipefail as default shell options in all github actions workflows
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github-actions
- Domain
- ci-cd
Research direction
Start by reviewing the main test.yml workflow and the other GitHub Actions workflow files for their current defaults.run shell settings. Apply the requested bash -euo pipefail default consistently, then run the workflows or their available checks to confirm multiline commands, pipelines, and unset variables fail as intended.
Written by the indexing model from the issue text.
Description
We had it at least in the main test.yml script, but it got removed in #433, possibly as a mistake during resolution of a merge conflict.
defaults:
run:
# to fail on error in multiline statements (-e), in pipes (-o pipefail), and on unset variables (-u).
shell: bash -euo pipefail {0}
@flying-sheep, any reason not do have this?
- Dominant language
- Python
- Stars
- 89
- Forks
- 17
- Avg merge
- 21h 16m
- Merged PRs (30d)
- 7
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.
More from scverse/cookiecutter-scverse
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
scverse/cookiecutter-scverse#548 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
scverse/cookiecutter-scverse#559 · 3 comments ·
-
scverse/cookiecutter-scverse#545 · 5 comments · 1 assignee ·
-
Add scverse-doc Open
scverse/cookiecutter-scverse#538 · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
scverse/cookiecutter-scverse#532 · 5 comments ·
All issues in scverse/cookiecutter-scverse
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100