cloud-native-toolkit / cloud-native-toolkit/software-everywhere

Issue on Controls: add to catalog action pushes directly to main

Open
#503 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
8
Forks
8
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The add to catalog action that runs when new modules are created (cloud-native-toolkit/action-add-to-catalog) commits changes directly to the main branch. Should commit to a new branch and then merge to main to enable branch protection of main.

**To Reproduce**
Steps to reproduce the behavior:
1. Have branch protection enabled for main in cloud-native-toolkit/software-everywhere preventing commits to main
2. Create a request for a new module
3. Approve new module request
4. Allow automated action to run
5. The add-to-catalog action will fail

**Expected behavior**
The action should be successful at adding the new module to the catalog.

**Screenshots**
![image](https://user-images.githubusercontent.com/51330294/190296707-c46a86f0-a17d-447f-a2ef-f2fb69350549.png)

Refer to action here,
https://github.com/cloud-native-toolkit/software-everywhere/actions/runs/3056795221/attempts/1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.