Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github-actions(pre-commit): detect merge conflicts and shebangs #4778

Merged

Conversation

v1v
Copy link
Member

@v1v v1v commented Jan 21, 2025

Description

Use pre-commit with a subset of checks and run in the CI.

Similarly done at elastic/beats#42377

Help with detecting merge conflicts or shebang issues in the shell scripts

Documentation sets edited in this PR

Check all that apply.

  • Stateful (docs/en/observability/*)
  • Serverless (docs/en/serverless/*)
  • Integrations Developer Guide (docs/en/integrations/*)
  • None of the above

Related issue

Closes #

Checklist

  • Product/Engineering Review
  • Writer Review

Follow-up tasks

Select one.

  • This PR does not need to be ported to another doc set because:
    • The concepts in this PR only apply to one doc set (serverless or stateful)
    • The PR contains edits to both doc sets (serverless and stateful)
  • This PR needs to be ported to another doc set:
    • Port to stateful docs: <link to PR or tracking issue>
    • Port to serverless docs: <link to PR or tracking issue>

@v1v v1v added backport-7.17 Automated backport with mergify backport-8.x Automated backport to the 8.x branch with mergify backport-8.16 Automated backport with mergify backport-8.17 Automated backport with mergify labels Jan 21, 2025
@v1v v1v self-assigned this Jan 21, 2025
@v1v v1v requested a review from a team as a code owner January 21, 2025 18:37
@v1v v1v enabled auto-merge (squash) January 22, 2025 10:27
@v1v v1v merged commit aa68137 into elastic:main Jan 28, 2025
20 checks passed
mergify bot pushed a commit that referenced this pull request Jan 28, 2025
mergify bot pushed a commit that referenced this pull request Jan 28, 2025
mergify bot pushed a commit that referenced this pull request Jan 28, 2025
mergify bot pushed a commit that referenced this pull request Jan 28, 2025
bmorelli25 pushed a commit that referenced this pull request Jan 28, 2025
… (#4792)

(cherry picked from commit aa68137)

Co-authored-by: Victor Martinez <[email protected]>
bmorelli25 pushed a commit that referenced this pull request Jan 28, 2025
… (#4791)

(cherry picked from commit aa68137)

Co-authored-by: Victor Martinez <[email protected]>
bmorelli25 pushed a commit that referenced this pull request Jan 28, 2025
… (#4793)

(cherry picked from commit aa68137)

Co-authored-by: Victor Martinez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-7.17 Automated backport with mergify backport-8.x Automated backport to the 8.x branch with mergify backport-8.16 Automated backport with mergify backport-8.17 Automated backport with mergify needs-writer-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants