Skip to content

GH-50345: [CI] Remove redundant checkout step from check_labels.yml#50346

Merged
raulcd merged 1 commit into
apache:mainfrom
kou:ci-check-labels-remove-checkout
Jul 3, 2026
Merged

GH-50345: [CI] Remove redundant checkout step from check_labels.yml#50346
raulcd merged 1 commit into
apache:mainfrom
kou:ci-check-labels-remove-checkout

Conversation

@kou

@kou kou commented Jul 2, 2026

Copy link
Copy Markdown
Member

Rationale for this change

check_labels.yml no longer uses fork repository content because GH-50256 removed changed paths based check.

What changes are included in this PR?

Remove redundant actions/checkout step.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

Copilot AI review requested due to automatic review settings July 2, 2026 21:45
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label Jul 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes an unnecessary repository checkout from the reusable check_labels.yml workflow now that the job no longer depends on fork/repo contents, and instead only queries PR labels via the GitHub CLI.

Changes:

  • Removed the conditional actions/checkout step from the check-labels job.
  • Left the label-checking logic intact (uses gh pr view and GITHUB_OUTPUT only).

@raulcd raulcd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @kou

@raulcd raulcd merged commit 3f10504 into apache:main Jul 3, 2026
29 checks passed
@raulcd raulcd removed the awaiting committer review Awaiting committer review label Jul 3, 2026
@github-actions github-actions Bot added the awaiting merge Awaiting merge label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge Awaiting merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants