Skip to content

Conversation

@hashkode
Copy link
Contributor

@hashkode hashkode commented Apr 8, 2025

Description

This pull request includes several updates to GitHub workflows, issue templates and configuration files. The most important changes are grouped by theme below:

GitHub Workflows:

  • Added a new MegaLinter workflow configuration file to automate code linting and fixing. This includes setting up the environment, configuring concurrency and defining the job steps for MegaLinter.
  • Introduced a new workflow for tagging and releasing, which runs on pushes to the main branch and uses semantic-release to automate the release process.
  • Updated the ci.yml and python-publish.yml workflows to include a fetch-depth parameter in the checkout step, optimizing the fetch process.

Issue Templates:

  • Reformatted the bug report issue template to use markdown headers for better readability and structure.
  • Reformatted the feature request issue template similarly to improve clarity and organization.

Configuration Files:

  • Added a configuration file for MegaLinter to disable specific linters and configure reporting options.

Dockerfile:

  • Replaced the ADD command with COPY to align with best practices for copying files into the Docker image.

Fixes #32

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes (if applicable)

@hashkode hashkode added the enhancement New feature or request label Apr 8, 2025
@hashkode hashkode requested review from Copilot and michiosw April 8, 2025 23:17
@hashkode hashkode linked an issue Apr 8, 2025 that may be closed by this pull request
2 tasks
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 4 0 0.03s
⚠️ COPYPASTE jscpd yes 2 1.52s
⚠️ DOCKERFILE hadolint 1 1 0.18s
✅ MARKDOWN markdownlint 3 2 0 0.58s
⚠️ MARKDOWN markdown-link-check 3 1 3.04s
✅ MARKDOWN markdown-table-formatter 3 3 0 0.23s
⚠️ REPOSITORY checkov yes 3 10.38s
⚠️ REPOSITORY devskim yes 2 0.84s
✅ REPOSITORY dustilock yes no 0.0s
✅ REPOSITORY gitleaks yes no 0.14s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 11.86s
⚠️ REPOSITORY kics yes 30 2.01s
✅ REPOSITORY secretlint yes no 0.66s
✅ REPOSITORY syft yes no 1.1s
⚠️ REPOSITORY trivy yes 1 5.95s
✅ REPOSITORY trivy-sbom yes no 0.07s
✅ REPOSITORY trufflehog yes no 2.0s
✅ YAML prettier 5 2 0 0.59s
✅ YAML v8r 5 0 4.55s
✅ YAML yamllint 5 0 0.45s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@hashkode hashkode marked this pull request as draft April 9, 2025 00:36
@hashkode hashkode requested review from Copilot and maceip April 9, 2025 18:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • Dockerfile: Language not supported

@hashkode hashkode requested a review from Copilot April 9, 2025 18:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • Dockerfile: Language not supported

@hashkode hashkode marked this pull request as ready for review April 9, 2025 18:30
@michiosw michiosw merged commit 6f5ccda into main Apr 9, 2025
3 checks passed
@michiosw
Copy link
Contributor

michiosw commented Apr 9, 2025

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@michiosw michiosw deleted the 32-feature-improve-ci branch April 15, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Improve CI

3 participants