sap-linuxlab / community.sap_install

Automation for SAP - Collection of Ansible Roles for various SAP software installation
Apache License 2.0
54 stars 57 forks source link

[Bug] workflows: dependency automation should create the branch from dev not from main #858

Open Wabri opened 2 months ago

Wabri commented 2 months ago

Role

None of them (or I don't know)

OS family

None of the above (specify in the description area below)

Python version

3.12

Ansible-core version

Not necessary

How to reproduce the bug

Related to https://github.com/sap-linuxlab/community.sap_install/pull/854

Describe the bug

The refs of the branch created in https://github.com/sap-linuxlab/community.sap_install/blob/c1b479ef710f0f0803a5a081eafd621465c86d4b/workflows/check_outdate_deps/check_deps.py#L53 should be dev in this case and not the COMMIT_SHA because in the second case the branch will be created starting from where the pipeline is run so in the main branch.

Additional information

I can solve this bug

Final checks

-[X] I've read the documentation. I've already checked for existing duplicated issues.