Closed JetteBke closed 1 year ago
Hey @JetteBke I've just tested this with 0.2.4-next.2
and I was able to successfully create a PR to the repository. Here is what my yaml block looked like:
- id: pullRequestAzureRepo
name: Create PR to GitOps Repo
action: azure:repo:pr
input:
organization: <ORGANIZATION>
sourceBranch: "<BRANCH>"
targetBranch: "main"
repoId: <REPO>
title: debug
project: <PROJECT>
supportsIterations: false
It's unfortunate there isn't better logging, have you tried setting the organization?
Hey @fosterm-mw, setting the organization fixed it for me, thank you! That should be added to the documentation. Thank you so much, awesome!
Hello everybody, I am trying to implement the
pullRequestAzureRepoAction
in my template but it doesn't work for me. I am using"@parfuemerie-douglas/scaffolder-backend-module-azure-repositories": "^0.2.2"
and implemented the code as described in the docs adding in the scaffolder.ts with the imports andNow, If I start the app I receive
If I change the version to
0.2.4-next.2
, the app starts normally. In my template yaml, I addedThe previous steps of clone and push work fine and the last step fails with
I have read the docs multiple times and tried changing to use other repos or branches but I end up here again. Could you have a look and maybe help me out? Happy to submit more info if necessary.
Other dependency versions