Skip updating constraints when only datetime changes (#19023)
Skip updating constraints when only datetime changes (#19023)

After adding datetime to generated constraints it became possible
that constraints remained the same but generated constraint files
changed (because of the date time). It was a rare occurence
because we rarely had "all-green" build in `main`, but since we
managed to fix most of the flaky tests it became more probable
(and happened already several times).

This PR ignores comment files when comparing generated constraints
and commits should only happen if something else than generated
comment changes.
lyft/incubator-airflow,nathanielvarona/airflow,nathanielvarona/airflow,apache/incubator-airflow,Acehaidrey/incubator-airflow,Acehaidrey/incubator-airflow,cfei18/incubator-airflow,cfei18/incubator-airflow,nathanielvarona/airflow,danielvdende/incubator-airflow,apache/airflow,bolkedebruin/airflow,mistercrunch/airflow,lyft/incubator-airflow,apache/airflow,cfei18/incubator-airflow,bolkedebruin/airflow,Acehaidrey/incubator-airflow,danielvdende/incubator-airflow,apache/airflow,nathanielvarona/airflow,apache/airflow,mistercrunch/airflow,nathanielvarona/airflow,bolkedebruin/airflow,cfei18/incubator-airflow,danielvdende/incubator-airflow,apache/airflow,lyft/incubator-airflow,apache/incubator-airflow,nathanielvarona/airflow,mistercrunch/airflow,apache/incubator-airflow,Acehaidrey/incubator-airflow,apache/airflow,danielvdende/incubator-airflow,cfei18/incubator-airflow,Acehaidrey/incubator-airflow,mistercrunch/airflow,cfei18/incubator-airflow,lyft/incubator-airflow,Acehaidrey/incubator-airflow,bolkedebruin/airflow,danielvdende/incubator-airflow,apache/incubator-airflow,danielvdende/incubator-airflow,bolkedebruin/airflow