Parfuemerie-Douglas / scaffolder-backend-module-azure-repositories

A collection of Backstage scaffolder backend modules for Azure repositories.
https://www.npmjs.com/package/@parfuemerie-douglas/scaffolder-backend-module-azure-repositories
Apache License 2.0
10 stars 23 forks source link

Create Pull Request Action Azure DevOps #6

Closed fosterm-mw closed 1 year ago

fosterm-mw commented 1 year ago

Description: This action adds to the current functionality to use the scaffolder to create a Pull Request to an ADO repository. Changes: I've added to the readme the usage of the pullRequestAzureRepoAction in the backstage code as well as how to use the action in the scaffolder. I've extended the helpers to include the functionality that will successfully create the pullRequest to the repo. One large change to the existing code base was to default the branch to backstage instead of main so that the pull request isn't made from main to main. This functionality is a large change but users that only want to make a clone and push to main still can; because of the change, it won't be by default. Due to this change in functionality I've changed the name from Repo to Branch. Testing: I've tested this new action functionality by using the package in a running backstage instance to create the PR's with the action created.