SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects
http://cumulusci.readthedocs.io
BSD 3-Clause "New" or "Revised" License
363 stars 242 forks source link

Github automerge feature task not working when running through Github Flows #3717

Open shyamvarshney opened 11 months ago

shyamvarshney commented 11 months ago

Describe the bug

Research: Whenever we are merging any child feature branch to a parent feature the variables (project_config.repo_branch, project_config.projectgitprefix_feature) that decide to run this task or skip this task are None. 1

Whenever we are running it manually on a specific branch under the actions tab in GitHub it is working fine and giving value as expected. 2

Screenshot of the skipping the task when the value of project_config.repo_branch = None 3

Reproduction steps

  1. Create a feature/ParentBranch
  2. Create two child branches from feature/ParentBranch i.e. feature/ParentBranchChildBranch1 and feature/ParentBranchChildBranch2.
  3. Do some changes in feature/ParentBranch__ChildBranch1 in this branch and merge this branch to feature/ParentBranch.
  4. Run the ci_feature flow or github_automerge_feature task against the feature/ParentBranch.
  5. Check after flow completion it should down-merge the changes to feature/ParentBranch__ChildBranch2.

Your CumulusCI and Python versions

CumulusCI version: 3.79.0 Python version: 3.10.8

Operating System

Windows 11

Windows environment

Command Prompt

CumulusCI installation method

None

Error Gist

No response

Additional information

No response