Skip to content

GH-43131: [CI] Attach lint failures to PR diff view#43133

Closed
kou wants to merge 1 commit intoapache:mainfrom
kou:ci-lint-failures
Closed

GH-43131: [CI] Attach lint failures to PR diff view#43133
kou wants to merge 1 commit intoapache:mainfrom
kou:ci-lint-failures

Conversation

@kou
Copy link
Member

@kou kou commented Jul 3, 2024

Rationale for this change

If we can attach lint failures to PR diff view, PR authors will fix lint failures without comments from reviewers.

What changes are included in this PR?

Detect diffs from pre-commit run --show-diff-on-failure and convert them to "error" workflow commands.

See also: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-error-message

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@github-actions
Copy link

github-actions bot commented Jul 3, 2024

⚠️ GitHub issue #43131 has been automatically assigned in GitHub to PR creator.

@kou kou force-pushed the ci-lint-failures branch 5 times, most recently from 884f071 to 4e64d49 Compare July 3, 2024 11:42
@kou kou force-pushed the ci-lint-failures branch from 4e64d49 to 4c12f21 Compare July 3, 2024 11:43
SET CMP0135 NEW)
endif()

set(ARROW_VERSION "17.0.0-SNAPSHOT")
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a sample output.

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Jul 3, 2024
@github-actions
Copy link

Thank you for your contribution. Unfortunately, this pull request has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this PR will be closed in 14 days. Feel free to re-open this if it has been closed in error. If you do not have repository permissions to reopen the PR, please tag a maintainer.

@github-actions github-actions bot added the Status: stale-warning Issues and PRs flagged as stale which are due to be closed if no indication otherwise label Nov 18, 2025
@github-actions github-actions bot closed this Feb 16, 2026
@kou kou deleted the ci-lint-failures branch February 17, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changes Awaiting changes Component: C++ Status: stale-warning Issues and PRs flagged as stale which are due to be closed if no indication otherwise

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments