Skip to content

Add common workflows and files #11

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

lucacome
Copy link
Member

This pull request includes several updates to the repository configuration and GitHub workflows to enhance automation and code quality checks. The most important changes include the addition of an .editorconfig file, updates to the release process, and the introduction of multiple GitHub Actions workflows for CI, CodeQL analysis, dependency review, and pull request labeling.

Configuration updates:

  • .editorconfig: Added configuration to enforce consistent coding styles across the project, such as charset, end-of-line format, and indentation rules.

Release process improvements:

  • .github/release.yml: Added a changelog configuration to categorize changes by labels and exclude certain labels from the changelog.

GitHub Actions workflows:

@lucacome lucacome requested a review from Copilot March 15, 2025 01:14
Copy link

@Copilot 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.

Pull Request Overview

This pull request introduces common repository workflows and files to improve automation around CI, security scanning, dependency review, release management, and pull request labeling. Key changes include the addition of new GitHub Actions workflows for CodeQL analysis, CI testing with Go, dependency review, and pull request labeling, as well as updates to the release process configuration.

Reviewed Changes

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

Show a summary per file
File Description
.github/workflows/codeql.yml Adds a CodeQL analysis workflow with dynamic language categorization
.github/workflows/ci.yml Introduces a CI workflow for unit testing and draft release creation
.github/release.yml Updates the changelog configuration with categorized labels and exclusions
.github/workflows/dependency-review.yml Implements a dependency review workflow using an external config file
.github/workflows/labeler.yml Sets up a pull request labeler workflow that references an external repo
Comments suppressed due to low confidence (3)

.github/workflows/codeql.yml:53

  • The 'category' field is dynamically constructed with '/language:${{matrix.language}}'. Please verify that this formatting is supported by CodeQL; an unsupported format may result in issues with categorizing analysis results.
        category: "/language:${{matrix.language}}"

.github/release.yml:29

  • Using a wildcard '*' to match labels for 'Other Changes' might unintentionally include labels that you do not want in this category. Consider using a more specific pattern or reviewing the matching strategy to ensure it aligns with your release notes policy.
        - "*"

.github/workflows/labeler.yml:20

  • [nitpick] The reference to 'opentracing-contrib/common' could be unclear if it points to an external repository. Consider adding a comment or renaming the key to clarify its purpose and ensure it is the intended resource.
          repository: opentracing-contrib/common

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