Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(ci): Add yaml and action formatter/linter to CI#1899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
kakkoyun wants to merge4 commits intoprometheus:main
base:main
Choose a base branch
Loading
fromkakkoyun:chore/actionlint

Conversation

@kakkoyun
Copy link
Member

  • chore(ci): Add CRLF detection and fix targets to prevent CRLF contamination
  • chore(go/fmt): Fix formatting issues
  • chore(ci): Add yaml and action formatter/linter to CI
  • chore(.github/workflows): Fix action formats and issues

…nationAdd two new Makefile targets to detect and fix carriage return (CRLF)line endings that can contaminate the codebase from Windows environments:- check-crlf: Scans all text files (excluding hidden dirs and vendor)  for CRLF line endings and fails if any are found- fix-crlf: Automatically converts CRLF to LF using the tr commandAdd CRLF check to CI workflow to catch line ending issues early in PRs.The check runs immediately after checkout, before any other validation.Also rename go.yml to validate.yml to better reflect the workflow'spurpose, and fix job name casing (supportedVersions -> supported_versions).Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
Signed-off-by: Kemal Akkoyun <kemal.akkoyun@datadoghq.com>
@kakkoyunkakkoyun marked this pull request as draftOctober 24, 2025 14:24
Copy link
Member

@SuperQSuperQ left a comment

Choose a reason for hiding this comment

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

I would copy the.yamllint config fromprometheus/prometheus.

kakkoyun reacted with thumbs up emoji
YAMLFMT :=$(FIRST_GOPATH)/bin/yamlfmt
ACTIONLINT :=$(FIRST_GOPATH)/bin/actionlint

$(YAMLFMT):
Copy link
Member

Choose a reason for hiding this comment

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

We already havecommon-yamllint inMakefile.common.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@SuperQSuperQSuperQ left review comments

@ArthurSensArthurSensAwaiting requested review from ArthurSensArthurSens is a code owner

@bwplotkabwplotkaAwaiting requested review from bwplotkabwplotka is a code owner

@vesarivesariAwaiting requested review from vesarivesari is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@kakkoyun@SuperQ

[8]ページ先頭

©2009-2025 Movatter.jp