ci: backport PR validation scripts to skill branch - #516
Open
rajshah4 wants to merge 1 commit into
Open
Conversation
The skill/openhands-enterprise-troubleshooting branch predates the PR description and issue readiness validation jobs. As a result, pull_request_target checks out a base SHA that lacks .github/scripts/check_pr_description.py and the job fails with FileNotFoundError. Backport the scripts, workflows, and dependabot config from main so the PR-description and issue-readiness checks can run. Co-authored-by: openhands <openhands@all-hands.dev>
Contributor
|
👋 This PR needs a couple of things fixed before OpenHands can review it:
Push an update once this is addressed and this check re-runs automatically. This is an automated check - no AI was used to generate this comment. |
1 similar comment
Contributor
|
👋 This PR needs a couple of things fixed before OpenHands can review it:
Push an update once this is addressed and this check re-runs automatically. This is an automated check - no AI was used to generate this comment. |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mainontoskill/openhands-enterprise-troubleshooting..github/scripts/, the two validation workflows, and.github/dependabot.ymlsopull_request_targetchecks out a base SHA that contains the script they run..githubinfrastructure only.Why
PR #457 fails the
Validate PR descriptioncheck with:pr-description-check.ymlusespull_request_targetand checks outgithub.event.pull_request.base.sha. For #457 the base branch isskill/openhands-enterprise-troubleshooting, which predates these scripts. The workflow file exists (inherited at branch creation) but the script it invokes does not, so the job errors out on file-not-found rather than on PR description problems.Retargeting #457 to
mainwould change the intended merge strategy (#457 is explicitly built on top of #456). Backporting the scripts onto the skill branch is the minimal fix.Validation
All seven restored entries match
maincontent.Source Verification
pull_request_targetand checks outgithub.event.pull_request.base.shapr-description-check.ymlmaincontains.github/scripts/check_pr_description.py; the skill branch does notmainvsskill/openhands-enterprise-troubleshootingskill/openhands-enterprise-troubleshootingThis pull request was created by an AI agent (OpenHands) on behalf of Rajiv Shah.