[AOMP] Add shellcheck workflow
This depends on https://github.com/ROCm/aomp/pull/1252 and makes only sense once that has landed.
I think we want to wait for https://github.com/ROCm/aomp/pull/1463 to land and then use this wrapper instead of plain shellcheck in this workflow.
As it is, the aomp-shellcheck script automatically modifies the files given as arguments in some circumstances (i.e. if they have failing checks in the "patchable" check list), which is probably not desirable for the GitHub workflow case.
Good point. Should there be a --check-only option or so that would point out issues and show how to use our wrapper to fix them?
I think so, something like that.
I've added a new --check-only option in the version up on https://github.com/ROCm/aomp/pull/1463 now.