Skip to content

ref: swap pre-commit with prek#4235

Merged
aldy505 merged 2 commits intomasterfrom
aldy505/ref/swap-precommit-prek
Mar 24, 2026
Merged

ref: swap pre-commit with prek#4235
aldy505 merged 2 commits intomasterfrom
aldy505/ref/swap-precommit-prek

Conversation

@aldy505
Copy link
Collaborator

@aldy505 aldy505 commented Mar 21, 2026

Better compatiblity when developing self-hosted in all platforms, pre-commit really sucks when I'm on Windows.

Luckily, prek is a simple drop-in replacement and we need to change nothing.

Better compatiblity when developing self-hosted in all platforms, pre-commit really sucks when I'm on Windows.

Luckily, prek is a simple drop-in replacement and we need to change nothing.
@github-actions
Copy link

github-actions bot commented Mar 21, 2026

Changelog Preview

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • Remove 'vroom-cleanup' container by aldy505 in #4217

Internal Changes 🔧

Deps

  • Bump getsentry/craft from 2.23.2 to 2.24.1 by dependabot in #4221
  • Bump astral-sh/setup-uv from 7.2.1 to 7.5.0 by dependabot in #4220

Other

  • Swap pre-commit with prek by aldy505 in #4235

🤖 This preview updates automatically when you update the PR.

@aldy505 aldy505 marked this pull request as draft March 21, 2026 05:12
@aldy505
Copy link
Collaborator Author

aldy505 commented Mar 21, 2026

Blocked by j178/prek#1838

@aldy505
Copy link
Collaborator Author

aldy505 commented Mar 23, 2026

CI is green!

@aldy505 aldy505 marked this pull request as ready for review March 23, 2026 22:28
@aldy505 aldy505 enabled auto-merge (squash) March 24, 2026 09:42
jobs:
changelog-preview:
uses: getsentry/craft/.github/workflows/changelog-preview.yml@v2
uses: getsentry/craft/.github/workflows/changelog-preview.yml@f4889d04564e47311038ecb6b910fef6b6cf1363 # 2.25.0
Copy link
Member

Choose a reason for hiding this comment

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

Keep this dynamic.

Suggested change
uses: getsentry/craft/.github/workflows/changelog-preview.yml@f4889d04564e47311038ecb6b910fef6b6cf1363 # 2.25.0
uses: getsentry/craft/.github/workflows/changelog-preview.yml@v2

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I apply regular updates from dependanbot, so it's fine?

Copy link
Member

Choose a reason for hiding this comment

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

And keep the churn and useless PRs and commits and CI time?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fair

- name: Get auth token
id: token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
Copy link
Member

Choose a reason for hiding this comment

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

This one too.

Suggested change
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
uses: actions/create-github-app-token@v3

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Why shouldnt we pin this one?

Copy link
Member

Choose a reason for hiding this comment

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

Because it's from GitHub

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well tbf we do pin actions/checkout

@aldy505 aldy505 merged commit 54f2a95 into master Mar 24, 2026
17 of 18 checks passed
@aldy505 aldy505 deleted the aldy505/ref/swap-precommit-prek branch March 24, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants