Forráskód Böngészése

Update benchmark.yml

quyuan01 1 éve
szülő
commit
2783bb3980
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      .github/workflows/benchmark.yml

+ 1 - 1
.github/workflows/benchmark.yml

@@ -40,7 +40,7 @@ jobs:
         echo "start test"
         cd tools && python ocr_badcase.py pdf_json_label_0306.json ocr_dataset.json json_files.zip badcase.json overall.json base_data.json
   notify_to_feishu:
-    if: ${{ always() && !cancelled() && contains(needs.*.result, 'failure') && (github.ref_name == 'develop' || github.ref_name == 'main') }}
+    if: ${{ always() && !cancelled() && contains(needs.*.result, 'failure') && (github.ref_name == 'master') }}
     needs: [pdf-test]
     runs-on: [pdf]
     steps: