Skip to content

Conversation

@agilgur5
Copy link
Contributor

@agilgur5 agilgur5 commented Jan 12, 2025

Summary

Add a simple CI workflow purely to lint and format shell scripts
Starts (but does not complete) #202. Addresses #201 "Future Work"

Details

Notes to Reviewers

This is a Draft PR for now as existing code will likely fail

- c.f. https://github.com/luizm/action-sh-checker
  - this will run `shfmt` for formatting, `shellcheck` for static analysis, etc

- security: this GHA Workflow follows [OpenSSF Scorecard best practices](https://github.com/ossf/scorecard/blob/43d5832d25ccc597a9b94926b6ad43da25204085/docs/checks.md)
  - c.f. "Dangerous Workflow", "Pinned Dependencies", and "Token-Permissions" in particular
@agilgur5 agilgur5 marked this pull request as ready for review January 12, 2025 06:44
@agilgur5 agilgur5 marked this pull request as draft January 12, 2025 06:44
@agilgur5
Copy link
Contributor Author

Looks like Actions aren't enabled in this repo? GH Docs link

I'll probably need to test CI in my own fork either way though

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.

1 participant