microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
295 stars 125 forks source link

Allow "ubuntu-latest" runners for all workflows #1146

Closed cegekaJG closed 3 months ago

cegekaJG commented 4 months ago

This pull request adds a check to allow updating the runs-on and shell parameters of all workflows. Previously, the workflows "Update AL Go System Files" and "Pull Request Handler" were excluded when changing the two parameters to prevent deadlocks and security issues. With this change, a check will only allow changing the parameters of the blacklisted workflows if the runs-on parameter is either windows-latest or ubuntu-latest. Additionally, a check in the function ModifyRunsOnAndShell ensures only the value pwsh is allowed when using an ubuntu-latest runner.