Skip to content

Conversation

@baptistegrimaud
Copy link
Contributor

@baptistegrimaud baptistegrimaud commented Nov 17, 2025

Description

reusable-integration-tests.yml uses master as default branch.
So set it to ${{ github.ref }} to use the correct branch (main in the current setup).
Should fix the On merge to main workflow currently broken: https://github.com/Jahia/javascript-modules/actions/runs/19422103524

Tip

Documentation to guide the reviews: How to do a code review

@baptistegrimaud baptistegrimaud marked this pull request as ready for review November 17, 2025 08:00
@baptistegrimaud baptistegrimaud requested a review from a team as a code owner November 17, 2025 08:00
Copilot AI review requested due to automatic review settings November 17, 2025 08:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a workflow configuration issue where the integration tests workflow was using the wrong branch (master instead of main) when triggered on merge to main. The fix ensures the workflow uses the correct branch reference from the triggering event.

Key Changes:

  • Added module_branch parameter to the integration tests workflow to use the current GitHub ref instead of defaulting to master

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@baptistegrimaud baptistegrimaud merged commit b2c3736 into main Nov 17, 2025
19 checks passed
@baptistegrimaud baptistegrimaud deleted the fix-on-merge-to-main branch November 17, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants