Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement]: add automation for ubuntu/* braches to run shellcheck against changed package scripts (preinst, prerm, postrm, postinst) #5812

Open
blackboxsw opened this issue Oct 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@blackboxsw
Copy link
Collaborator

Enhancement

When debian/(pre|post)(rm|inst) scripts are modified in the current PR run shellcheck or some other tool to check that the number of POSIX shell warnings or errors is not increased by the active PR. This helps avoid POSIX shell logical errors or conditions from being introduced which could affect health of unattended-upgrades, do-release-upgrade or manual package updates by users.

Expect a non-blocking github action for this that is only run on pull requests targeting ubuntu/*

@blackboxsw blackboxsw added the enhancement New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant