Skip to content

chore: fix the pre-commit config to properly point at golangci-lint url - #704

Merged
zeroshade merged 1 commit into
apache:mainfrom
zeroshade:fix-pre-commit
Jan 28, 2026
Merged

zeroshade merged 1 commit into
apache:mainfrom
zeroshade:fix-pre-commit

Conversation

@zeroshade

Copy link
Copy Markdown
Member

No description provided.

@zeroshade
zeroshade requested review from Fokko and kevinjqliu January 28, 2026 18:26
@github-actions github-actions Bot added the INFRA label Jan 28, 2026
@kevinjqliu
kevinjqliu requested a review from Copilot January 28, 2026 18:39

@kevinjqliu kevinjqliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread .pre-commit-config.yaml
@@ -18,9 +18,9 @@
files: ^go/

@kevinjqliu kevinjqliu Jan 28, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
files: ^go/

is this necessary? given the types_or: [go] below

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i made a change to exprs.go locally, and ran pre-commit. it only worked after i removed this line 🤔

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

hmm, my bad you're right we should remove that

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 pre-commit configuration to correctly reference the golangci-lint repository instead of the generic pre-commit-hooks repository, and removes an obsolete directory change command.

Changes:

  • Updated the repository URL from pre-commit/pre-commit-hooks to golangci/golangci-lint
  • Changed the revision from v4.4.0 to v2.8.0
  • Removed the cd iceberg command from the entry script as this directory doesn't exist in the current structure

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

@zeroshade
zeroshade merged commit 41dc23a into apache:main Jan 28, 2026
17 checks passed
zeroshade added a commit that referenced this pull request Jan 28, 2026
I merged #704 too quick before seeing kevin's suggestion. He's right we
don't need the `files` line
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.

3 participants