SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects

Home Page:http://cumulusci.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github automerge feature task not working when running through Github Flows

shyamvarshney opened this issue · comments

Describe the bug

Research: Whenever we are merging any child feature branch to a parent feature the variables (project_config.repo_branch, project_config.project__git__prefix_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/ParentBranch__ChildBranch1 and feature/ParentBranch__ChildBranch2.
  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