Instead of running ShellCheck when a PR is opened, we should run it when a PR is labelled. Outside of PRs, we should run the workflow on merge, but only for the master branch.
In other words, our ShellCheck Action should run in the following conditions:
When there is a push to master (such as on merge).
When a PR is labelled with "shellcheck".
For both of the above, only run on the steamtinkerlaunch file.
Still finding my feet with these workflows, but I think it should be fine.
Instead of running ShellCheck when a PR is opened, we should run it when a PR is labelled. Outside of PRs, we should run the workflow on merge, but only for the master branch.
In other words, our ShellCheck Action should run in the following conditions:
steamtinkerlaunch
file.Still finding my feet with these workflows, but I think it should be fine.