Azure / ALZ-PowerShell-Module

The Azure Landing Zones Accelerators PowerShell module
https://www.powershellgallery.com/packages/ALZ/
MIT License
79 stars 39 forks source link

Bug report: Pipeline error in GitHub #135

Closed richardf5 closed 2 months ago

richardf5 commented 3 months ago

Expected Behavior

GitHub Action should be able to run successfully.

Current Behavior

Error: Error parsing called workflow. -shared-templates/.github/workflows/cd-template.yaml@main: workflow was not found.

Both repositories exist.

image

Possible Solution

Steps to Reproduce

Note: Error occurs regardless of using typed inputs or steering YAML file.

  1. New Terraform Accelerator using Deploy-Accelerator (ALZ version 3.0.1)
  2. Solution deploys bootstrap successfully.
  3. Attempt to run 02 CD pipeline.

My current config:

Context (Environment)

Detailed Description

oZakari commented 2 months ago

Hi @richardf5, are you actually seeing the this file in your repo as well? shared-templates/.github/workflows/cd-template.yaml

richardf5 commented 2 months ago

Hi @oZakari . I am. image

jaredfholgate commented 2 months ago

I'm wondering if this is a GitHub org permissions issue stopping the main repo from accessing the templates repo. As a workaround, you could try setting the use_separate_repository_for_templates input to false.

It would be useful to see your GitHub org licensing level and settings for default repository access. I will attempt to replicate in a licensed org too.

richardf5 commented 2 months ago

Hi. Apologies, I've been on different work for a couple of weeks.

I'll try to replicate the issue today. Currently have another error relating to not being allowed to register a certain resource type. Will take a look and log an issue if required.

oZakari commented 2 months ago

Thanks for the update @richardf5, please feel free to re-open you are able to replicate the issue again.