Skip to content

[CI] Create reusable pre-commit workflows#2759

Merged
jiayuasu merged 1 commit into
apache:masterfrom
jbampton:pre-commit-reusable-workflows
Mar 18, 2026
Merged

[CI] Create reusable pre-commit workflows#2759
jiayuasu merged 1 commit into
apache:masterfrom
jbampton:pre-commit-reusable-workflows

Conversation

@jbampton
Copy link
Copy Markdown
Member

@jbampton jbampton commented Mar 17, 2026

Separates the jobs run commands and arguments by reuse.

Gives us two jobs on the PR page when a PR is opened.

Quickly shows us what is failing by separation.

More jobs can be easily added.

Need two separate workflow files for both standard and manual hooks to ensure the README status buttons work

Did you read the Contributor Guide?

Is this PR related to a ticket?

  • No:
    • this is a CI update. The PR name follows the format [CI] my subject

What changes were proposed in this PR?

As described

How was this patch tested?

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

@jbampton jbampton added the github_actions Pull requests that update GitHub Actions code label Mar 17, 2026
@jbampton jbampton marked this pull request as ready for review March 17, 2026 03:21
@jbampton jbampton requested a review from jiayuasu as a code owner March 17, 2026 03:21
@jbampton jbampton marked this pull request as draft March 17, 2026 07:07
@jbampton jbampton self-assigned this Mar 17, 2026
Separates the jobs run commands and arguments by reuse.

Gives us two jobs on the PR page when a PR is opened.

Quickly shows us what is failing by separation.

More jobs can be easily added.

Need two separate workflow files for both standard and manual hooks to ensure the README status buttons work
@jbampton jbampton force-pushed the pre-commit-reusable-workflows branch from f699857 to e2b229e Compare March 17, 2026 09:26
@jbampton jbampton marked this pull request as ready for review March 17, 2026 10:10
@jiayuasu jiayuasu merged commit 8d059b4 into apache:master Mar 18, 2026
11 checks passed
@jbampton jbampton deleted the pre-commit-reusable-workflows branch March 18, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants