We had a working github action that uses Azure/get-keyvault-secrets@v1 (runs-on: ubuntu-latest). We moved the action to a self hosted github runner (runs-on: self-hosted) and the Azure/get-keyvault-secrets@v1 step fails with an error message:
Error: Invalid regular expression: /*/: Nothing to repeat
The Azure/login@v1 is successful
I wonder if its this line?
main.ts:33
environment = environment.replace(/"|\s/g, '');
because the line below it doesn't trigger.
console.log('Running keyvault action against ' + environment);
When running this command in the az console
az cloud show --query name
Hello,
We had a working github action that uses Azure/get-keyvault-secrets@v1 (runs-on: ubuntu-latest). We moved the action to a self hosted github runner (runs-on: self-hosted) and the Azure/get-keyvault-secrets@v1 step fails with an error message:
Error: Invalid regular expression: /*/: Nothing to repeat
The Azure/login@v1 is successful
I wonder if its this line? main.ts:33 environment = environment.replace(/"|\s/g, '');
because the line below it doesn't trigger. console.log('Running keyvault action against ' + environment);
When running this command in the az console az cloud show --query name
i get "AzureCloud" as a return