-
Notifications
You must be signed in to change notification settings - Fork 230
fix: update default base branch reference in server tests workflow #4023
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -30,7 +30,7 @@ on: | |||||
| - "**.html" | ||||||
| - "**.csv" | ||||||
| env: | ||||||
| BRANCH: ${{ inputs.base_ref || github.base_ref || github.ref_name }} | ||||||
| BRANCH: ${{ inputs.base_ref || 'develop' }} | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Maybe this?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
It will take base branch as input example and But I think we can use it by changing main section as ERPNext. |
||||||
| APP_NAME: ${{ inputs.app_name || 'india_compliance' }} | ||||||
|
|
||||||
| jobs: | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Verification inconclusive
Script executed:
cat -n .github/workflows/server-tests.yml | head -80Repository: resilient-tech/india-compliance
Repository: resilient-tech/india-compliance
Exit code: 0
stdout:
Script executed:
Repository: resilient-tech/india-compliance
Repository: resilient-tech/india-compliance
Exit code: 0
stdout:
Script executed:
Repository: resilient-tech/india-compliance
Repository: resilient-tech/india-compliance
Exit code: 0
stdout:
Script executed:
Repository: resilient-tech/india-compliance
Repository: resilient-tech/india-compliance
Exit code: 0
stdout:
Script executed:
Repository: resilient-tech/india-compliance
Repository: resilient-tech/india-compliance
Exit code: 0
stdout:
Script executed:
Repository: resilient-tech/india-compliance
Repository: resilient-tech/india-compliance
Exit code: 0
stdout:
Script executed:
Repository: resilient-tech/india-compliance
Repository: resilient-tech/india-compliance
Exit code: 0
stdout:
Restore branch-aware fallback for
BRANCH.Line 33 now defaults to
developforpushandpull_requestevents sinceinputs.base_refis only available duringworkflow_call. This breaks multi-branch testing: pushes toversion-14,version-15,version-16branches clone Frappe and ERPNext fromdevelopinstead of their respective maintenance branches, causing tests to validate against incorrect dependencies.🔧 Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents