Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CI] [GHA] Remove workflow trigger from CI Doctor (#35599)

Andrei Kashchikhin22ba9ae86611
diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml
index bb446bc8038..2fecd92c49f 100644
--- a/.github/workflows/ci-doctor.lock.yml
+++ b/.github/workflows/ci-doctor.lock.yml
@@ -28,7 +28,7 @@
#
# Source: githubnext/agentics/workflows/ci-doctor.md@0aa94a6e40aeaf131118476bc6a07e55c4ceb147
#
-# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"0c418fb9c2d691701bae9261b8bcf53764057daa04f225787c3de6b02b5a2601","compiler_version":"v0.51.5"}
+# gh-aw-metadata: {"schema_version":"v1","frontmatter_hash":"47831b84ceecac578746baccdb1a6cb6f036b2ca068ddc67abba1c0928a2dc21","compiler_version":"v0.51.5"}
name: "CI Failure Doctor"
"on":
@@ -40,12 +40,6 @@ name: "CI Failure Doctor"
run_id:
description: Workflow run ID to investigate (for manual testing)
required: false
- workflow_run:
- # zizmor: ignore[dangerous-triggers] - workflow_run trigger is secured with role and fork validation
- types:
- - completed
- workflows:
- - Debian 10 ARM
permissions: {}
@@ -57,12 +51,9 @@ run-name: "CI Failure Doctor"
jobs:
activation:
needs: pre_activation
- # zizmor: ignore[dangerous-triggers] - workflow_run trigger is secured with role and fork validation
if: >
- ((needs.pre_activation.outputs.activated == 'true') && (github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'failure' &&
- (github.event.workflow_run.head_branch == 'master' || github.event.workflow_run.event == 'pull_request')))) &&
- ((github.event_name != 'workflow_run') || ((github.event.workflow_run.repository.id == github.repository_id) &&
- (!(github.event.workflow_run.repository.fork))))
+ (needs.pre_activation.outputs.activated == 'true') && (github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'failure' &&
+ (github.event.workflow_run.head_branch == 'master' || github.event.workflow_run.event == 'pull_request')))
runs-on: ubuntu-slim
permissions:
contents: read
@@ -292,8 +283,6 @@ jobs:
needs: activation
runs-on: ubuntu-latest
permissions: read-all
- concurrency:
- group: "gh-aw-copilot-${{ github.workflow }}"
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
GH_AW_ASSETS_ALLOWED_EXTS: ""
@@ -1248,25 +1237,13 @@ jobs:
permissions:
actions: read
outputs:
- activated: ${{ (steps.check_membership.outputs.is_team_member == 'true') && (steps.check_rate_limit.outputs.rate_limit_ok == 'true') }}
+ activated: ${{ steps.check_rate_limit.outputs.rate_limit_ok == 'true' }}
matched_command: ''
steps:
- name: Setup Scripts
uses: github/gh-aw/actions/setup@88319be75ab1adc60640307a10e5cf04b3deff1e # v0.51.5
with:
destination: /opt/gh-aw/actions
- - name: Check team membership for workflow
- id: check_membership
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
- env:
- GH_AW_REQUIRED_ROLES: admin,maintainer,write
- with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
- script: |
- const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');
- setupGlobals(core, github, context, exec, io);
- const { main } = require('/opt/gh-aw/actions/check_membership.cjs');
- await main();
- name: Check user rate limit
id: check_rate_limit
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
diff --git a/.github/workflows/ci-doctor.md b/.github/workflows/ci-doctor.md
index 60269cd033f..ed54f580c18 100644
--- a/.github/workflows/ci-doctor.md
+++ b/.github/workflows/ci-doctor.md
@@ -14,11 +14,11 @@ on:
link:
description: "Link to a workflow to investigate (for manual testing across repositories)"
required: false
- workflow_run:
- workflows:
- - "Debian 10 ARM"
- types:
- - completed
+ # workflow_run:
+ # workflows:
+ # - "Debian 10 ARM"
+ # types:
+ # - completed
rate-limit:
max: 5 # Maximum runs per window