From 9b54001f86141a40fb898917120a06615ba6e8d4 Mon Sep 17 00:00:00 2001 From: Lucas Fernandez Date: Tue, 4 Jun 2024 16:09:18 +0200 Subject: [PATCH] chore: Remove unused workflow dispatch on CRD change --- .github/workflows/dispatch_on_crd_change.yaml | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/dispatch_on_crd_change.yaml diff --git a/.github/workflows/dispatch_on_crd_change.yaml b/.github/workflows/dispatch_on_crd_change.yaml deleted file mode 100644 index 203558b41f..0000000000 --- a/.github/workflows/dispatch_on_crd_change.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: Send dispatch on CRD change - -on: - pull_request: - types: - - closed - branches: - - main - paths: - - 'manifests/crd/**' - -jobs: - operator-sync: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - name: Send dispatch to operator - uses: actions/github-script@v6 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const result = await github.rest.actions.createWorkflowDispatch({ - owner: 'opendatahub-io', - repo: 'opendatahub-operator', - workflow_id: 'sync_dashboard_crds.yml', - ref: 'actions/dashboard-sync' - }) - console.log(result) \ No newline at end of file