JulianHayward / Azure-MG-Sub-Governance-Reporting

Azure Governance Visualizer aka AzGovViz is a PowerShell script that captures Azure Governance related information such as Azure Policy, RBAC (a lot more) by polling Azure ARM, Storage and Microsoft Graph APIs.
MIT License
857 stars 308 forks source link

Node.js 12 actions are deprecated #180

Closed lpalerm closed 1 year ago

lpalerm commented 1 year ago

AzGovViz version Running latest version

CodeRunPlatform GitHub Action

Describe the bug Workflow ran for 6 hours. Error in job Run Azure Governence Visualizer: Error: The operation was canceled. Summary Error: Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Screenshots image

Additional context Add any other context about the problem here.

JulianHayward commented 1 year ago

@lpalerm the problem is likely that the worker is overutilized (there is a parameter to show memory usage). To work around use a self hosted worker.

lpalerm commented 1 year ago

@JulianHayward thank you for the quick response. Any recommendations on the self-hosted runner OS or size?

JulianHayward commented 1 year ago

@lpalerm the GitHub provided runners come with 7GB, try to double that? difficult to estimate without knowing your overall subscription/data amounts.

lpalerm commented 1 year ago

Thanks Julian....I added a workflow dispatch so that I can run it for each of the management groups under the tenant, instead of running it for the whole tenant. Thanks for all your work, this is awesome and I have already found several items to address from just 2 of our 150 subscriptions!