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

Minor Refactoring and Documentation Update #2

Merged
merged 5 commits into from
Feb 29, 2024
Merged

Conversation

nkiryanov
Copy link
Collaborator

Minor Refactoring and Documentation Update:

  1. Address all errors and warnings produced by shellcheck.
  2. Implement CI shellcheck linters.
  3. Update documentation to reflect new crontab requirements: the crontab now supports years and is not compatible with previous examples.

Copy link
Collaborator Author

@nkiryanov nkiryanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@f213 тут мелкие изменения.
Причина что сделал PR это мелкие ошибки (их подсветил в комментариях), ну и если начал, то заодно решил добавить линтер + подправить то, на что он обращает внимание.

shellcheck использую давно, очень им доволен — помогает избежать многих ошибок новичка когда пишу скрипты + встроен в github actions

backup.sh Show resolved Hide resolved
backup.sh Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
@nkiryanov nkiryanov marked this pull request as ready for review February 27, 2024 21:58
Copy link
Owner

@f213 f213 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мне всё нравки.

Раз уж взялись за линтеры, я бы хотел в будущем затащить ещё hadolint и docker-image-size-limit. Задачи запилил.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@nkiryanov nkiryanov merged commit 0f572ef into master Feb 29, 2024
1 check passed
@nkiryanov nkiryanov deleted the fix-lineter-warnings branch February 29, 2024 09:43
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.

2 participants