Closed richardf5 closed 1 month ago
Hi @richardf5, are you actually seeing the this file in your repo as well? shared-templates/.github/workflows/cd-template.yaml
Hi @oZakari . I am.
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.
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.
Thanks for the update @richardf5, please feel free to re-open you are able to replicate the issue again.
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.
Possible Solution
Steps to Reproduce
Note: Error occurs regardless of using typed inputs or steering YAML file.
My current config:
Context (Environment)
Operating System and version as reported by
$PSVersionTable.OS
: PSVersion 7.4.4 Windows 11 23H2PowerShell versions as reported by
$PSVersionTable.PSEdition
:Detailed Description