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

CI: Fix backport workflow #395

Merged
merged 2 commits into from
Jan 15, 2025
Merged

CI: Fix backport workflow #395

merged 2 commits into from
Jan 15, 2025

Conversation

leofang
Copy link
Member

@leofang leofang commented Jan 15, 2025

This PR contains 2 fixes, both due to me misreading the documentation 😛

  1. I noticed the conflict_resolution argument causes a warning because it's an experimental feature of the backport action, and it should not be passed directly as a input argument, but as a part of json.
    https://github.com/korthout/backport-action#conflict_resolution
  2. I've noticed the backport workflow went nuts in a few recently-merged PRs, where the backport step is triggered even if the PR does not have the to-be-backported label, ex: Document header requirements for Cython users #372 (comment). It turns out that label_pattern is meant to be used as a way to find the backport branch (for which we already set target_branch), not the way I intend it to (add a label to trigger backport upon merge). This is now fixed.

Copy link
Contributor

copy-pr-bot bot commented Jan 15, 2025

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@leofang leofang marked this pull request as draft January 15, 2025 07:49
Copy link
Contributor

copy-pr-bot bot commented Jan 15, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@leofang leofang changed the title CI: Removed wrong input argument CI: Fix backport workflow Jan 15, 2025
@leofang leofang self-assigned this Jan 15, 2025
@leofang leofang requested review from rwgk and vzhurba01 January 15, 2025 07:57
@leofang leofang added bug Something isn't working P0 High priority - Must do! CI/CD CI/CD infrastructure labels Jan 15, 2025
@leofang leofang added this to the cuda-python 12-next, 11-next milestone Jan 15, 2025
@leofang leofang marked this pull request as ready for review January 15, 2025 07:57
@leofang
Copy link
Member Author

leofang commented Jan 15, 2025

/ok to test

@leofang leofang mentioned this pull request Jan 15, 2025
Copy link
Collaborator

@rwgk rwgk left a comment

Choose a reason for hiding this comment

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

LGTM — I'm not very familiar with the details here, but the PR description is very clear!

@leofang leofang merged commit 71c9f23 into NVIDIA:main Jan 15, 2025
82 checks passed
@leofang leofang deleted the fix_backport branch January 15, 2025 16:59
@leofang
Copy link
Member Author

leofang commented Jan 15, 2025

Thanks, Ralf! Let me merge and monitor if it is indeed fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI/CD CI/CD infrastructure P0 High priority - Must do!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants