Skip to content

Develop - #16

Merged
dgtalbug merged 16 commits into
mainfrom
develop
Dec 20, 2025
Merged

Develop#16
dgtalbug merged 16 commits into
mainfrom
develop

Conversation

@dgtalbug

Copy link
Copy Markdown
Contributor

This pull request updates our security scanning configuration to reduce false positives from the gosec tool by excluding specific rules and tightening the criteria for reporting issues. It also removes now-unnecessary inline linter suppression comments from the codebase, as these are handled globally. The changes affect CI workflows, linter configuration, Makefile scripts, and state management code.

Security scanning configuration improvements:

  • Updated the gosec step in .github/workflows/security.yml to exclude rules G304, G301, and G306, and to report only high severity and high confidence issues.
  • Added a gosec section to .golangci.yml to globally exclude the same rules and set confidence/severity thresholds to high.
  • Modified the security target in Makefile to run gosec in lenient mode with the new exclusions and thresholds.

Codebase cleanup:

  • Removed inline //nolint:gosec comments from pkg/state/history.go and pkg/state/storage.go, since the excluded rules are now handled by linter configuration. [1] [2] [3]

dgtalbug and others added 16 commits December 20, 2025 20:00
#10)

* Refactor golangci.yml configuration by removing unused linter settings

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* Update security.yml to simplify Gosec output and remove unnecessary actions permission

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* Refactor golangci-lint configuration and improve code style consistency

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* Remove unused prealloc settings from golangci.yml configuration

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

---------

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
….yml

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
…rkflow

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
* Implement state management and history commands with YAML persistence

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* feat: establish test infrastructure with initial planning and dependencies

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* feat: add YAML state files and enhance storage functionality with tests

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

---------

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
Signed-off-by: DgtalBug <17087824+dgtalbug@users.noreply.github.com>
Signed-off-by: dgtalbug <dgtalbug@gmail.com>
… output

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
#10)

* Refactor golangci.yml configuration by removing unused linter settings

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* Update security.yml to simplify Gosec output and remove unnecessary actions permission

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* Refactor golangci-lint configuration and improve code style consistency

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* Remove unused prealloc settings from golangci.yml configuration

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

---------

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
* Implement state management and history commands with YAML persistence

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* feat: establish test infrastructure with initial planning and dependencies

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

* feat: add YAML state files and enhance storage functionality with tests

Signed-off-by: dgtalbug <dgtalbug@gmail.com>

---------

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
Signed-off-by: dgtalbug <dgtalbug@gmail.com>
… output

Signed-off-by: dgtalbug <dgtalbug@gmail.com>
@github-actions github-actions Bot added the ci label Dec 20, 2025
@dgtalbug
dgtalbug merged commit 846df54 into main Dec 20, 2025
11 checks passed
@dgtalbug dgtalbug mentioned this pull request Feb 16, 2026
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant