Skip to content

Update pre-commit config file and remove branch creation GHA - #339

Merged
gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:update-precommit
May 15, 2026
Merged

Update pre-commit config file and remove branch creation GHA#339
gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:update-precommit

Conversation

@gab-arrobo

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates local/CI linting configuration and removes release-branch creation from the release workflow.

Changes:

  • Updates golangci-lint and gitleaks versions.
  • Adds REUSE, Go test, and Staticcheck pre-commit hooks.
  • Removes the branch-release reusable workflow job and cleans trailing whitespace in test input data.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
.pre-commit-config.yaml Updates hook versions and adds license/test/static analysis hooks.
.github/workflows/main.yml Pins golangci-lint version for the reusable lint workflow.
.github/workflows/push.yml Removes the branch-release job from the release pipeline.
pcftests/test_input_data.go Removes trailing whitespace from embedded test JSON.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .pre-commit-config.yaml
Comment thread .pre-commit-config.yaml
@gab-arrobo
gab-arrobo merged commit decc957 into omec-project:main May 15, 2026
12 checks passed
@gab-arrobo
gab-arrobo deleted the update-precommit branch May 15, 2026 20:27
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.

3 participants