Currently the pre-commit checks are not picking up problems, because it is skipping all checks in CI

As @Techassi found in the docs: https://pre-commit.com/#usage-in-continuous-integration, it needs to be run with extra options:
# pre-commit run --from-ref origin/HEAD --to-ref HEAD
pre-commit run --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}
For each fix, do the following:
### Repositories that need fixing
- [ ] https://github.com/stackabletech/docker-images/pull/790
- [ ] docker-images pre-commit hook pinning
- [ ] operator-templating
- [ ] stackable-cockpit