potiuk commented on code in PR #69308:
URL: https://github.com/apache/airflow/pull/69308#discussion_r3519422768


##########
scripts/ci/prek/check_eval_reminder.py:
##########
@@ -0,0 +1,58 @@
+#!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Remind contributors to run skill-eval when guidance files change.
+
+This hook prints a warning when AGENTS.md or SKILL.md is staged for
+commit. It always exits 0 — it never blocks the commit.

Review Comment:
   Of course - we have to also take into account that somoene might not be able 
to run the eval and have escape hatch for that  - in this case likely we need 
some way or process where maintainer who has agentic access takes over and runs 
the evals for such contributor and updates the PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to