RoyLee1224 commented on code in PR #69308: URL: https://github.com/apache/airflow/pull/69308#discussion_r3522292551
########## 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: Make sense! I've added the hash proof for `AGENTS.md` + `dev/skill-evals/cases/*.yaml`. in 5664d848ea7cd69ce0bef0faca1c14fe2d37a819 ########## 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: Make sense! I've added the hash proof for `AGENTS.md` + `dev/skill-evals/cases/*.yaml` in 5664d848ea7cd69ce0bef0faca1c14fe2d37a819 -- 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]
