CI: Run pre-commit gh action on only changed files (#39505)
CI: Run pre-commit gh action on only changed files (#39505)

Resolves : GH38862

Since pre-commit in comment-bot runs on all files,
it's a bit slow. Running it only on diff should
speed it up significantly.
dsm054/pandas,pandas-dev/pandas,jorisvandenbossche/pandas,rs2/pandas,pandas-dev/pandas,dsm054/pandas,rs2/pandas,rs2/pandas,pandas-dev/pandas,pandas-dev/pandas,dsm054/pandas,gfyoung/pandas,dsm054/pandas,dsm054/pandas,gfyoung/pandas,jorisvandenbossche/pandas,gfyoung/pandas,datapythonista/pandas,jorisvandenbossche/pandas,datapythonista/pandas,gfyoung/pandas,datapythonista/pandas,jorisvandenbossche/pandas,rs2/pandas,datapythonista/pandas,gfyoung/pandas