CI:fix merge to main,cancel display fail (#17869)

CI:fix merge to main,cancel display faile
This commit is contained in:
maoyifeng
2026-08-05 16:55:59 +08:00
committed by GitHub
parent 1210788121
commit 409b75868d

View File

@@ -36,6 +36,9 @@ jobs:
# https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution
# https://github.com/orgs/community/discussions/26261
if: ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target' || (github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'ci') && (github.event.action != 'labeled' || github.event.label.name == 'ci')) }}
permissions:
actions: write
contents: read
runs-on: [ "self-hosted", "ragflow-test" ]
outputs:
http_api_test_level: ${{ steps.test_level.outputs.http_api_test_level }}