Add a reminder in set-trigger-rules script (#21929)

### Description
After editing the set-trigger-rules.py, we must run the file.



### Motivation and Context
Obviously the script wasn't run because some files's name are incorrect.
This commit is contained in:
Yi Zhang 2024-08-31 03:18:10 +08:00 committed by GitHub
parent 02e3a430af
commit 60b07623a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 36 additions and 5 deletions

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,5 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -1,4 +1,5 @@
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
### please do rerun set-trigger-rules.py ###
trigger:
branches:
include:

View file

@ -34,10 +34,10 @@ skip_js_changes = [
"orttraining-linux-gpu-ortmodule-distributed-test-ci-pipeline.yml",
"orttraining-mac-ci-pipeline.yml",
"win-ci-pipeline.yml",
"win-gpu-ci-dml-pipeline.yml",
"win-gpu-ci-cuda-pipeline.yml",
"win-gpu-ci-training-pipeline.yml",
"win-gpu-ci-doc-gen-pipeline.yml",
"win-gpu-dml-ci-pipeline.yml",
"win-gpu-cuda-ci-pipeline.yml",
"win-gpu-training-ci-pipeline.yml",
"win-gpu-doc-gen-ci-pipeline.yml",
"win-gpu-tensorrt-ci-pipeline.yml",
"win-qnn-arm64-ci-pipeline.yml",
"win-qnn-ci-pipeline.yml",
@ -51,6 +51,8 @@ def add_trigger_filter(file_name, trigger_lines):
start_marker = f"##### start trigger Don't edit it manually, Please do edit {os.path.basename(__file__)} ####"
end_marker = "#### end trigger ####\n"
reminder = f"### please do rerun {os.path.basename(__file__)} ###"
trigger_lines.insert(0, f"{reminder}\n")
if lines[0].startswith(start_marker):
for i in range(1, len(lines)):