Skip to content

ci: Remove --fix flag from golangci-lint#389

Merged
timflannagan merged 3 commits intoagentregistry-dev:mainfrom
timflannagan:chore/lint-fixes
Mar 20, 2026
Merged

ci: Remove --fix flag from golangci-lint#389
timflannagan merged 3 commits intoagentregistry-dev:mainfrom
timflannagan:chore/lint-fixes

Conversation

@timflannagan
Copy link
Copy Markdown
Collaborator

@timflannagan timflannagan commented Mar 19, 2026

Description

Fixes #388. Removes the --fix flag argument from the lint.yaml workflow. See https://github.com/agentregistry-dev/agentregistry/actions/runs/23316189823/job/67816197314?pr=389 which proves this fixes the issue. The secondary commit fixes the linting violations via running go run github.com/golangci/golangci-lint/v2/cmd/[email protected] run --fix and committing the results.

Change Type

/kind cleanup

Changelog

NONE

Additional Notes

Copilot AI review requested due to automatic review settings March 19, 2026 20:47
@github-actions
Copy link
Copy Markdown

You already have 3 pull requests open. Please consider working on getting the existing ones merged before opening new ones. Thanks!

Copy link
Copy Markdown
Contributor

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 PR updates the CI lint workflow to stop running golangci-lint in auto-fix mode, ensuring lint issues are surfaced as CI failures rather than silently rewritten during the workflow run.

Changes:

  • Removed the --fix argument from the golangci/golangci-lint-action step in the Go lint job.

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

@github-actions
Copy link
Copy Markdown

You already have 3 pull requests open. Please consider working on getting the existing ones merged before opening new ones. Thanks!

1 similar comment
@github-actions
Copy link
Copy Markdown

You already have 3 pull requests open. Please consider working on getting the existing ones merged before opening new ones. Thanks!

@github-actions
Copy link
Copy Markdown

You already have 3 pull requests open. Please consider working on getting the existing ones merged before opening new ones. Thanks!

@timflannagan
Copy link
Copy Markdown
Collaborator Author

Testing #390. Closing & re-opening.

@timflannagan
Copy link
Copy Markdown
Collaborator Author

@timflannagan timflannagan enabled auto-merge March 20, 2026 16:49
@timflannagan timflannagan added this pull request to the merge queue Mar 20, 2026
Merged via the queue into agentregistry-dev:main with commit ea8a4e4 Mar 20, 2026
8 checks passed
@timflannagan timflannagan deleted the chore/lint-fixes branch March 20, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Partially broken lint GHA checks

3 participants